lib/Container.php
public function getParameter($name)
    {
        if (!array_key_exists($name, $this->config)) {
            throw new \InvalidArgumentException(sprintf(
                'Parameter "%s" has not been registered',
                $name
            ));
        }

        return $this->config[$name];
    }
public function getParameter($name)
    {
        if (!array_key_exists($name, $this->config)) {
            throw new \InvalidArgumentException(sprintf(
                'Parameter "%s" has not been registered',
                $name
            ));
        }

        return $this->config[$name];
    }
public function getParameter ( $ name ) { if ( ! array_key_exists ( $ name , $ this -> config ) ) { throw new \ InvalidArgumentException ( sprintf ( 'Parameter "%s" has not been registered' , $ name ) ) ; } return $ this -> config [ $ name ] ; }
Return the parameter with the given name.

@param string $name

@throws \InvalidArgumentException

@return mixed
Return the parameter with the given name .