>, total: int} */ public function list_page( PageRequest $page_request ): array { $items = array(); foreach ( $this->fix_repository->page( $page_request ) as $fix ) { $items[] = $this->fix_presenter->present( $fix ); } return array( 'items' => $items, 'total' => $this->fix_repository->count(), ); } }