public function createLink($page) { $routeLink = new RouteLink([$this->datagrid->getParamNameCurrentPage() => $page], $this->getRoute()); $routeLink->setValue($page); return $routeLink; }