public function apiUser() { $api = new API\User(); $this->getResultPager()->setPage(null); $api->setClient($this->httpClient); return $api; }