src/NestedContainer.php
public function getContainer($name)
    {
        if (!array_key_exists($name, $this->containers)) {
            throw new ContainerNotFoundException("No container with name '{$name}' found");
        }

        return $this->containers[$name];
    }
public function getContainer($name)
    {
        if (!array_key_exists($name, $this->containers)) {
            throw new ContainerNotFoundException("No container with name '{$name}' found");
        }

        return $this->containers[$name];
    }
public function getContainer ( $ name ) { if ( ! array_key_exists ( $ name , $ this -> containers ) ) { throw new ContainerNotFoundException ( "No container with name '{$name}' found" ) ; } return $ this -> containers [ $ name ] ; }
Gets named container
@param $name
@return ContainerInterface
@throws ContainerNotFoundException
Gets named container