FOF30\Pimple\Container::__construct PHP Метод

__construct() публичный Метод

Objects and parameters can be passed as argument to the constructor.
public __construct ( array $values = [] )
$values array The parameters or objects.
    public function __construct(array $values = array())
    {
        $this->factories = new \SplObjectStorage();
        $this->protected = new \SplObjectStorage();
        foreach ($values as $key => $value) {
            $this->offsetSet($key, $value);
        }
    }