/** * Return a paginator instance on the EntityCollection * * @param int $perPage number of item per page (fallback on default setup in entity map) * @return */ public function paginate($perPage = null) { return $this->mapper->paginate($perPage); }