public function setRowsPerPage(\Illuminate\Session\Store $session, $globalPerPage, $override = null)
    {
        if ($override) {
            $perPage = (int) $override;
            $session->put('administrator_'.$this->config->getOption('name').'_rows_per_page', $perPage);
        }

        $perPage = $session->get('administrator_'.$this->config->getOption('name').'_rows_per_page');

        if (!$perPage) {
            $perPage = (int) $globalPerPage;
        }

        $this->rowsPerPage = $perPage;
    }