Factory/FollowFactory.php
public function createList(array $data, $followList = false)
    {
        if (false === $followList) {
            $followList = FollowList::create();
        }

        if (isset($data['follows'])) {
            $followList = $followList->setFollows($this->createFollows($data['follows']));
        }

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

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

        return $followList;
    }
public function createList(array $data, $followList = false)
    {
        if (false === $followList) {
            $followList = FollowList::create();
        }

        if (isset($data['follows'])) {
            $followList = $followList->setFollows($this->createFollows($data['follows']));
        }

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

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

        return $followList;
    }
@param array            $data
@param false|FollowList $followList

@return FollowList