/** * @return \stdClass */ public function getOutput() { $output = new \stdClass(); foreach ($this->resource->getLinks() as $link) { $this->buildSimpleLink($output, $link); } return $output; }
/** * @param Pagination $pagination */ public function setPagination(Pagination $pagination) { $this->checksForCustomObject(); $this->responseBody->addMember($pagination->getSerializer()); }
/** * @param Pagination $pagination */ public function setPagination(Pagination $pagination) { $this->responseBody->addMember($pagination->getSerializer()); }