public function Route::getOption

Get an option value.

Parameters

string $name An option name:

Return value

mixed The option value or null when not given

1 call to Route::getOption()
Route::compile in drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Route.php
Compiles the route.

File

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

Class

Route
A Route describes a route and its parameters.

Namespace

Symfony\Component\Routing

Code

public function getOption($name) {
  return isset($this->options[$name]) ? $this->options[$name] : null;
}