public function initialize(Request $request)
    {
        // prevent reinit
        if (!$this->request) {
            $this->request = $request;
            $pagers = $this->decodeHttpQuery();
            // prevent pager override
            if (array_intersect_key($pagers, $this->pagers)) {
                throw new PagerOverrideException();
            }

            $this->pagers = $pagers;
        }
    }
public function initialize(Request $request)
    {
        // prevent reinit
        if (!$this->request) {
            $this->request = $request;
            $pagers = $this->decodeHttpQuery();
            // prevent pager override
            if (array_intersect_key($pagers, $this->pagers)) {
                throw new PagerOverrideException();
            }

            $this->pagers = $pagers;
        }
    }
public function initialize ( Request $ request ) { // prevent reinit if ( ! $ this -> request ) { $ this -> request = $ request ; $ pagers = $ this -> decodeHttpQuery ( ) ; // prevent pager override if ( array_intersect_key ( $ pagers , $ this -> pagers ) ) { throw new PagerOverrideException ( ) ; } $ this -> pagers = $ pagers ; } }
Initializer of pager objects from request query parameters.

@param Request $request

@throws PagerOverrideException
Initializer of pager objects from request query parameters .