public function PathBasedGeneratorInterface::setRequest

Sets the $request property.

Parameters

\Symfony\Component\HttpFoundation\Request $request: The HttpRequest object representing the current request.

1 method overrides PathBasedGeneratorInterface::setRequest()

File

drupal/core/lib/Drupal/Core/Routing/PathBasedGeneratorInterface.php, line 38
Contains Drupal\Core\Routing\PathBasedGeneratorInterface.

Class

PathBasedGeneratorInterface
Defines an interface for generating a url from a path as opposed to a route.

Namespace

Drupal\Core\Routing

Code

public function setRequest(Request $request);