KernelInterface can return null container
This commit is contained in:
parent
c75b1edf78
commit
7cb340a2db
@ -139,7 +139,7 @@ interface KernelInterface extends HttpKernelInterface, \Serializable
|
|||||||
/**
|
/**
|
||||||
* Gets the current container.
|
* Gets the current container.
|
||||||
*
|
*
|
||||||
* @return ContainerInterface A ContainerInterface instance
|
* @return ContainerInterface|null A ContainerInterface instance or null when the Kernel is shutdown
|
||||||
*/
|
*/
|
||||||
public function getContainer();
|
public function getContainer();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user