original_string: public function searchGames($query, $params = [])
    {
        $defaults = [
            'query' => urlencode($query),
            'limit' => 25,
            'type'  => 'suggest',
            'live'  => false,
        ];
  
        return $this->wrapper->request('GET', 'search/games', ['query' => $this->resolveOptions($params, $defaults)]);
    }
code: public function searchGames($query, $params = [])
    {
        $defaults = [
            'query' => urlencode($query),
            'limit' => 25,
            'type'  => 'suggest',
            'live'  => false,
        ];
  
        return $this->wrapper->request('GET', 'search/games', ['query' => $this->resolveOptions($params, $defaults)]);
    }
code_tokens: public function searchGames ( $ query , $ params = [ ] ) { $ defaults = [ 'query' => urlencode ( $ query ) , 'limit' => 25 , 'type' => 'suggest' , 'live' => false , ] ; return $ this -> wrapper -> request ( 'GET' , 'search/games' , [ 'query' => $ this -> resolveOptions ( $ params , $ defaults ) ] ) ; }
docstring: Returns a list of game objects matching the search query.
  
  Learn more:
  https://github.com/justintv/Twitch-API/blob/master/v3_resources/search.md#get-searchgames
  
  @param  string $query   Search query
  @param  array $params  Optional params
  
  @return array
docstring_tokens: Returns a list of game objects matching the search query .