public function setRoute($route) { $this->paginator->setDefaultPaginatorOptions(array('route' => $route)); return $this; }