Newscoop\Services\ListPaginatorService::setRoute PHP Method

setRoute() public method

Set used route
public setRoute ( string $route ) : self
$route string Used route in request
return self
    public function setRoute($route)
    {
        $this->paginator->setDefaultPaginatorOptions(array('route' => $route));
        return $this;
    }