public function fetchAll($data = []) { $adapter = new TableGatewayPaginator($this->table); return new $this->collectionClass($adapter); }