major session refactoring.
This commit is contained in:
@@ -9,6 +9,16 @@ class IoC {
|
||||
*/
|
||||
public static $container;
|
||||
|
||||
/**
|
||||
* Bootstrap the global IoC instance.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public static function bootstrap()
|
||||
{
|
||||
static::$container = new Container(Config::$items['container']);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the active container instance.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user