protected
static
|
requireContainer(
?ContainerInterface $container = null,
bool $getGlobalContainer = true,
bool $createGlobalContainer = false,
): ContainerInterface
In order of preference, get the given container, the global container or
a standalone container
In order of preference, get the given container, the global container or
a standalone container
Parameters
$getGlobalContainer |
If true and $container is null ,
return the global container if it is set
|
$createGlobalContainer |
If true and $container is null ,
create the global container if it is not set
|
|
#
|