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')

Parameters

string $name
array $arguments

Return Value

mixed

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')

Parameters

string $name
array $arguments

Return Value

mixed