public function Route::getRequirements

Same name in this branch
  1. 8.x drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Route.php \Symfony\Component\Routing\Route::getRequirements()
  2. 8.x drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Annotation/Route.php \Symfony\Component\Routing\Annotation\Route::getRequirements()

Returns the requirements.

Return value

array The requirements

File

drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Route.php, line 464

Class

Route
A Route describes a route and its parameters.

Namespace

Symfony\Component\Routing

Code

public function getRequirements() {
  return $this->requirements;
}