Метод |
Описание |
|
__construct ( array $values = [] ) |
Instantiate the container. |
|
extend ( string $id, callable $callable ) : callable |
Extends an object definition. |
|
factory ( callable $callable ) : callable |
Marks a callable as being a factory service. |
|
keys ( ) : array |
Returns all defined value names. |
|
offsetExists ( string $id ) : boolean |
Checks if a parameter or an object is set. |
|
offsetGet ( string $id ) : mixed |
Gets a parameter or an object. |
|
offsetSet ( string $id, mixed $value ) |
Sets a parameter or an object. |
|
offsetUnset ( string $id ) |
Unsets a parameter or an object. |
|
protect ( callable $callable ) : callable |
Protects a callable from being interpreted as a service. |
|
raw ( string $id ) : mixed |
Gets a parameter or the closure defining an object. |
|
register ( FOF30\Pimple\ServiceProviderInterface $provider, array $values = [] ) : static |
Registers a service provider. |
|