PHP Class FOF30\Container\ContainerBase

Inheritance: extends FOF30\Pimple\Container
Afficher le fichier Open project: akeeba/fof Class Usage Examples

Méthodes publiques

Méthode Description
__get ( string $name ) : mixed Magic getter for alternative syntax, e.g. $container->foo instead of $container['foo']
__set ( string $name, mixed $value ) Magic setter for alternative syntax, e.g. $container->foo instead of $container['foo']

Method Details

__get() public méthode

Magic getter for alternative syntax, e.g. $container->foo instead of $container['foo']
public __get ( string $name ) : mixed
$name string
Résultat mixed

__set() public méthode

Magic setter for alternative syntax, e.g. $container->foo instead of $container['foo']
public __set ( string $name, mixed $value )
$name string The unique identifier for the parameter or object
$value mixed The value of the parameter or a closure for a service