Skip to main content
Drupal API
Menu
User account menu
Log in
Breadcrumb
Drupal Core 11.1.x
Route.php
function Route::getRequirement
File
vendor/
symfony/
routing/
Route.php
, line 353
Class
Route
A Route describes a route and its parameters.
Namespace
Symfony\Component\Routing
Code
public
function
getRequirement
(string
$key
) : ?string {
return
$this
->
requirements
[
$key
] ??
null
; }
RSS feed