[HttpKernel] added a Kernel::init() method

This commit is contained in:
Fabien Potencier 2011-05-05 08:44:36 +02:00
parent aba8f1e180
commit 0f0e5817b1

View File

@ -71,13 +71,10 @@ abstract class Kernel implements KernelInterface
$this->classes = array();
if ($this->debug) {
ini_set('display_errors', 1);
error_reporting(-1);
$this->startTime = microtime(true);
} else {
ini_set('display_errors', 0);
}
$this->init();
}
public function __clone()
@ -90,6 +87,10 @@ abstract class Kernel implements KernelInterface
$this->container = null;
}
public function init()
{
}
/**
* Boots the current kernel.
*/