[HttpKernel] added a Kernel::init() method
This commit is contained in:
parent
aba8f1e180
commit
0f0e5817b1
@ -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.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user