lib/Elastica/Param.php
public function getParam($key)
    {
        if (!$this->hasParam($key)) {
            throw new InvalidException('Param '.$key.' does not exist');
        }

        return $this->_params[$key];
    }
public function getParam($key)
    {
        if (!$this->hasParam($key)) {
            throw new InvalidException('Param '.$key.' does not exist');
        }

        return $this->_params[$key];
    }
public function getParam ( $ key ) { if ( ! $ this -> hasParam ( $ key ) ) { throw new InvalidException ( 'Param ' . $ key . ' does not exist' ) ; } return $ this -> _params [ $ key ] ; }
Returns a specific param.

@param string $key Key to return

@throws \Elastica\Exception\InvalidException If requested key is not set

@return mixed Key value
Returns a specific param .