FrameworkBundle: Client: getContainer(): fixed phpdoc
The kernel might be shut down and then the method will return null instead of a ContainerInterface object
This commit is contained in:
parent
0451003397
commit
7462fa59b1
@ -41,7 +41,7 @@ class Client extends BaseClient
|
|||||||
/**
|
/**
|
||||||
* Returns the container.
|
* Returns the container.
|
||||||
*
|
*
|
||||||
* @return ContainerInterface
|
* @return ContainerInterface|null Returns null when the Kernel has been shutdown or not started yet
|
||||||
*/
|
*/
|
||||||
public function getContainer()
|
public function getContainer()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user