public function getGames($params = array())
    {
        $params = 0 < count($params) ? '?'.http_build_query($params) : '';
        $response = $this->getClient()->get(self::ENDPOINT.'games'.$params);
        $data = $this->jsonResponse($response);

        return $this->setFactory((new GameFactory()))->getFactory()->createList($data);
    }
public function getGames($params = array())
    {
        $params = 0 < count($params) ? '?'.http_build_query($params) : '';
        $response = $this->getClient()->get(self::ENDPOINT.'games'.$params);
        $data = $this->jsonResponse($response);

        return $this->setFactory((new GameFactory()))->getFactory()->createList($data);
    }
public function getGames ( $ params = array ( ) ) { $ params = 0 < count ( $ params ) ? '?' . http_build_query ( $ params ) : '' ; $ response = $ this -> getClient ( ) -> get ( self :: ENDPOINT . 'games' . $ params ) ; $ data = $ this -> jsonResponse ( $ response ) ; return $ this -> setFactory ( ( new GameFactory ( ) ) ) -> getFactory ( ) -> createList ( $ data ) ; }
Search games.

@param array $params

@return GameList
Search games .