src/Sherlock/components/BaseComponent.php
protected function convertParams($params)
    {
        $paramArray = array();
        foreach ($params as $param) {
            if (isset($this->params[$param]) === true) {
                $paramArray[$param] = $this->params[$param];
            }
        }

        return $paramArray;
    }
protected function convertParams($params)
    {
        $paramArray = array();
        foreach ($params as $param) {
            if (isset($this->params[$param]) === true) {
                $paramArray[$param] = $this->params[$param];
            }
        }

        return $paramArray;
    }
Convert a parameter list into a composed parameter request array

@param array $params array of parameters to convert into assoc array

@return array