Elastica\Result::getParam PHP Method

getParam() public method

This function can be used to retrieve all data for which a specific function doesn't exist. If the param does not exist, an empty array is returned
public getParam ( string $name ) : mixed
$name string Param name
return mixed Result data
    public function getParam($name)
    {
        if (isset($this->_hit[$name])) {
            return $this->_hit[$name];
        }
        return [];
    }