You are here

protected function Pagerer::getCurrentRequest in Pagerer 8

Returns the current request object.

Return value

\Symfony\Component\HttpFoundation\Request The request object.

File

src/Pagerer.php, line 141

Class

Pagerer
Pagerer pager management class.

Namespace

Drupal\pagerer

Code

protected function getCurrentRequest() {
  return $this->requestStack
    ->getCurrentRequest();
}