public function getParameter($key)
    {
        if (empty($this->namedParameters[$key])) {
            throw new InvalidKeyException($key);
        }

        return $this->namedParameters[$key];
    }
public function getParameter($key)
    {
        if (empty($this->namedParameters[$key])) {
            throw new InvalidKeyException($key);
        }

        return $this->namedParameters[$key];
    }
public function getParameter ( $ key ) { if ( empty ( $ this -> namedParameters [ $ key ] ) ) { throw new InvalidKeyException ( $ key ) ; } return $ this -> namedParameters [ $ key ] ; }
Get a named parameter object by key name

@param string $key The name of the key for the named parameter
@return NamedParameter

@throws InvalidKeyException
Get a named parameter object by key name