public function Route::setOption in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/routing/Route.php \Symfony\Component\Routing\Route::setOption()
Sets an option value.
This method implements a fluent interface.
Parameters
string $name An option name:
mixed $value The option value:
Return value
Route The current Route instance
File
- vendor/
symfony/ routing/ Route.php, line 372
Class
- Route
- A Route describes a route and its parameters.
Namespace
Symfony\Component\RoutingCode
public function setOption($name, $value) {
$this->options[$name] = $value;
$this->compiled = null;
return $this;
}