Factory/FollowFactory.php
public function createGameList(array $data, $gameList = false)
    {
        if (false === $gameList) {
            $gameList = GameList::create();
        }

        if (isset($data['follows'])) {
            $gameList = $gameList->setGames((new TopFactory())->createRanks($data['follows']));
        }

        if (isset($data['_links'])) {
            $gameList = $gameList->setLinks($data['_links']);
        }

        if (isset($data['_total'])) {
            $gameList = $gameList->setTotal($data['_total']);
        }

        return $gameList;
    }
public function createGameList(array $data, $gameList = false)
    {
        if (false === $gameList) {
            $gameList = GameList::create();
        }

        if (isset($data['follows'])) {
            $gameList = $gameList->setGames((new TopFactory())->createRanks($data['follows']));
        }

        if (isset($data['_links'])) {
            $gameList = $gameList->setLinks($data['_links']);
        }

        if (isset($data['_total'])) {
            $gameList = $gameList->setTotal($data['_total']);
        }

        return $gameList;
    }
@param array            $data
@param false|GameList $gameList

@return GameList