Swift_DependencyContainer::withDependencies PHP Method

withDependencies() public method

This method takes an array of lookup names.
public withDependencies ( array $lookups ) : Swift_DependencyContainer
$lookups array
return Swift_DependencyContainer
    public function withDependencies(array $lookups)
    {
        $endPoint =& $this->_getEndPoint();
        $endPoint['args'] = array();
        foreach ($lookups as $lookup) {
            $this->addConstructorLookup($lookup);
        }
        return $this;
    }