/** * @return PaginatedCollectionBuilder */ public function withItemsPerPage($itemsPerPage) { $this->paginatedCollection->setItemsPerPage($itemsPerPage); return $this; }