API refactoring

This commit is contained in:
Frederic Guillot
2015-05-23 21:44:33 -04:00
parent c9ba525bab
commit e32f26d048
24 changed files with 1519 additions and 606 deletions

22
app/Api/App.php Normal file
View File

@@ -0,0 +1,22 @@
<?php
namespace Api;
/**
* App API controller
*
* @package api
* @author Frederic Guillot
*/
class App extends Base
{
public function getTimezone()
{
return $this->config->get('application_timezone');
}
public function getVersion()
{
return APP_VERSION;
}
}