src/Request.php
protected function getParams()
    {
        $params = ["key=".$this->apiKey];
        if (@count($this->options[0]) > 0 && is_array($this->options[0])) {
            foreach ($this->options[0] as $k => $v) {
                if ($k != "response_type" && $k != "apiKey") {
                    array_push($params, "$k=$v");
                }
            }
        }
        return $params;
    }
protected function getParams()
    {
        $params = ["key=".$this->apiKey];
        if (@count($this->options[0]) > 0 && is_array($this->options[0])) {
            foreach ($this->options[0] as $k => $v) {
                if ($k != "response_type" && $k != "apiKey") {
                    array_push($params, "$k=$v");
                }
            }
        }
        return $params;
    }
protected function getParams ( ) { $ params = [ "key=" . $ this -> apiKey ] ; if ( @ count ( $ this -> options [ 0 ] ) > 0 && is_array ( $ this -> options [ 0 ] ) ) { foreach ( $ this -> options [ 0 ] as $ k => $ v ) { if ( $ k != "response_type" && $ k != "apiKey" ) { array_push ( $ params , "$k=$v" ) ; } } } return $ params ; }
Builds the query object from the options property
Builds the query object from the options property