[HttpKernel] Added deprecated error to init()
This commit is contained in:
parent
70012c108e
commit
b5a315d5ed
@ -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()
|
||||
|
Reference in New Issue
Block a user