Cleanup, added docs & RC 2
This commit is contained in:
@ -25,11 +25,19 @@ class Application
|
||||
self::$container = $app->getContainer();
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets dependency injection container
|
||||
* @return Slim\Container
|
||||
*/
|
||||
public static function getContainer()
|
||||
{
|
||||
return self::$container;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Slim application object
|
||||
* @return Slim\App;
|
||||
*/
|
||||
public static function getApplication()
|
||||
{
|
||||
return self::$app;
|
||||
|
Reference in New Issue
Block a user