public CurrentPathStack::__construct(RequestStack $request_stack)
Constructs a new CurrentPathStack instance.
\Symfony\Component\HttpFoundation\RequestStack $request_stack: The request stack.
public function __construct(RequestStack $request_stack) { $this->requestStack = $request_stack; $this->paths = new \SplObjectStorage(); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Path!CurrentPathStack.php/function/CurrentPathStack::__construct/8.1.x