public function getParameter($name)
    {
        if (!array_key_exists($name, $this->parameters)) {
            throw new InvalidArgumentException(sprintf('Parameter: "%s" does not exist', $name));
        }

        return $this->parameters[$name];
    }
public function getParameter($name)
    {
        if (!array_key_exists($name, $this->parameters)) {
            throw new InvalidArgumentException(sprintf('Parameter: "%s" does not exist', $name));
        }

        return $this->parameters[$name];
    }
public function getParameter ( $ name ) { if ( ! array_key_exists ( $ name , $ this -> parameters ) ) { throw new InvalidArgumentException ( sprintf ( 'Parameter: "%s" does not exist' , $ name ) ) ; } return $ this -> parameters [ $ name ] ; }
Get a parameter by it's name.

@param string $name The name of the parameter.
@return mixed The value.
@throws InvalidArgumentException If the parameter by name does not exist.
Get a parameter by it s name .