protected function initialize()
    {
        $this->perPageName = $this->grid->model()->getPerPageName();

        $this->perPage = (int) app('request')->input(
            $this->perPageName,
            $this->grid->perPage
        );
    }
protected function initialize()
    {
        $this->perPageName = $this->grid->model()->getPerPageName();

        $this->perPage = (int) app('request')->input(
            $this->perPageName,
            $this->grid->perPage
        );
    }
protected function initialize ( ) { $ this -> perPageName = $ this -> grid -> model ( ) -> getPerPageName ( ) ; $ this -> perPage = ( int ) app ( 'request' ) -> input ( $ this -> perPageName , $ this -> grid -> perPage ) ; }
Do initialize work.

@return void
Do initialize work .