[HttpKernel] Added deprecated error to init()

This commit is contained in:
Daniel Kolvik 2014-11-29 11:14:33 +01:00 committed by Nicolas Grekas
parent 70012c108e
commit b5a315d5ed

View File

@ -93,6 +93,7 @@ abstract class Kernel implements KernelInterface, TerminableInterface
*/
public function init()
{
trigger_error('The Kernel::init() method was deprecated in version 2.3 and will be removed in 3.0. Move your logic to the constructor instead.', E_USER_DEPRECATED);
}
public function __clone()