public function PagerParameters::__construct in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Pager/PagerParameters.php \Drupal\Core\Pager\PagerParameters::__construct()
Construct a PagerManager object.
Parameters
\Symfony\Component\HttpFoundation\RequestStack $stack: The current HTTP request stack.
File
- core/
lib/ Drupal/ Core/ Pager/ PagerParameters.php, line 28
Class
- PagerParameters
- Provides pager information contained within the current request.
Namespace
Drupal\Core\PagerCode
public function __construct(RequestStack $stack) {
$this->requestStack = $stack;
}