/** * Requests the abstract request. But before it does so, it sets a few properties * on the request like the extended level, page and it's limit * * @param AbstractRequest $request * @return mixed * @throws \Wubs\Trakt\Request\Exception\HttpCodeException\RateLimitExceededException * @throws \Wubs\Trakt\Request\Exception\HttpCodeException\ServerErrorException * @throws \Wubs\Trakt\Request\Exception\HttpCodeException\ServerUnavailableException * @throws \Wubs\Trakt\Request\Exception\HttpCodeException\StatusCodeException */ protected function request(AbstractRequest $request) { return $request->setExtended($this->extended->implode(','))->setPage($this->page)->setLimit($this->limit)->make($this->clientId, $this->client); }