Add method to retrieve kernel

This commit is contained in:
Romain Neutron
2011-12-15 11:57:26 +01:00
parent 2138dec23c
commit 30dcebf5ff

View File

@@ -21,7 +21,7 @@ require_once __DIR__ . '/../Alchemy/Phrasea/Kernel.php';
class bootstrap
{
static $kernel;
protected static $kernel;
public static function set_php_configuration()
{
@@ -43,6 +43,15 @@ class bootstrap
return static::$kernel;
}
/**
*
* @return Alchemy\Phrasea\Kernel
*/
public static function getKernel()
{
return static::$kernel;
}
public static function register_autoloads()
{