You are here

public function Pagerer::__construct in Pagerer 8

Same name in this branch
  1. 8 src/Pagerer.php \Drupal\pagerer\Pagerer::__construct()
  2. 8 src/Plugin/views/pager/Pagerer.php \Drupal\pagerer\Plugin\views\pager\Pagerer::__construct()

Constructs a new Pagerer pager object.

Parameters

\Drupal\pagerer\PagererFactoryInterface $pagerer_factory: The Pagerer factory.

\Symfony\Component\HttpFoundation\RequestStack $request_stack: The request stack.

File

src/Pagerer.php, line 69

Class

Pagerer
Pagerer pager management class.

Namespace

Drupal\pagerer

Code

public function __construct(PagererFactoryInterface $pagerer_factory, RequestStack $request_stack) {
  $this->factory = $pagerer_factory;
  $this->requestStack = $request_stack;
}