FOF30\Container\ContainerBase::__set PHP Method

__set() public method

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
    function __set($name, $value)
    {
        $this->offsetSet($name, $value);
    }
ContainerBase