[Foundation] added Kernel::__clone()
This commit is contained in:
parent
c11b707967
commit
e3c2e40c06
@ -66,6 +66,17 @@ abstract class Kernel implements HttpKernelInterface, \Serializable
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function __clone()
|
||||||
|
{
|
||||||
|
if ($this->debug) {
|
||||||
|
$this->startTime = microtime(true);
|
||||||
|
}
|
||||||
|
|
||||||
|
$this->booted = false;
|
||||||
|
$this->container = null;
|
||||||
|
$this->request = null;
|
||||||
|
}
|
||||||
|
|
||||||
abstract public function registerRootDir();
|
abstract public function registerRootDir();
|
||||||
|
|
||||||
abstract public function registerBundles();
|
abstract public function registerBundles();
|
||||||
|
Reference in New Issue
Block a user