Methods Summary | ||
---|---|---|
public
|
#
__construct( array $values = array ( ) )
Instantiates the container.
Objects and parameters can be passed as argument to the constructor.
|
|
public
|
#
offsetSet( string $id , mixed $value )
Sets a parameter or an object.
Objects must be defined as Closures.
Allowing any PHP callable leads to difficult to debug problems
as function names (strings) are callable (creating a function with
the same name as an existing parameter would break your container).
Implementation of |
|
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|
||
public
|