src/Didww/API2/ServerPaginatedCollection.php
public function load()
    {


        $response = $this->call($this->getMethod(), $this->getArgs());
        $this->_list = array();
        $key = $this->getResponseKey();
        foreach ($response[$key] as $value) {

            $this->appendToList($value);
        }

        $this->setLimit($response['pagination']->limit);
        $this->setOffset($response['pagination']->offset);
        $this->setTotal($response['pagination']->total);
    }
public function load()
    {


        $response = $this->call($this->getMethod(), $this->getArgs());
        $this->_list = array();
        $key = $this->getResponseKey();
        foreach ($response[$key] as $value) {

            $this->appendToList($value);
        }

        $this->setLimit($response['pagination']->limit);
        $this->setOffset($response['pagination']->offset);
        $this->setTotal($response['pagination']->total);
    }
load collection from API2