ServiceContainerProviderInterface
interface ServiceContainerProviderInterface
Interface ServiceContainerProviderInterface
Methods
mixed
__call(
string $name,
array $arguments)
This must allow some shortcuts to access a service
static
mixed
__callStatic(
string $name,
array $arguments)
This must allow some shortcuts to access a service
Details
at line 43
mixed
__call(
string $name,
array $arguments)
This must allow some shortcuts to access a service
Usage:
$obj->get('request') == $obj->getService('request')
$obj->getRequest() == $obj->getService('request')
at line 57
static
mixed
__callStatic(
string $name,
array $arguments)
This must allow some shortcuts to access a service
Usage:
$obj::get('request') == $obj::getInstance()->getService('request')
$obj::getRequest() == $obj::getInstance()->getService('request')