public function Route::setOptions in Zircon Profile 8
Same name in this branch
- 8 vendor/symfony/routing/Route.php \Symfony\Component\Routing\Route::setOptions()
- 8 vendor/symfony/routing/Annotation/Route.php \Symfony\Component\Routing\Annotation\Route::setOptions()
Same name and namespace in other branches
- 8.0 vendor/symfony/routing/Route.php \Symfony\Component\Routing\Route::setOptions()
Sets the options.
This method implements a fluent interface.
Parameters
array $options The options:
Return value
Route The current Route instance
1 call to Route::setOptions()
- Route::__construct in vendor/
symfony/ routing/ Route.php - Constructor.
File
- vendor/
symfony/ routing/ Route.php, line 334
Class
- Route
- A Route describes a route and its parameters.
Namespace
Symfony\Component\RoutingCode
public function setOptions(array $options) {
$this->options = array(
'compiler_class' => 'Symfony\\Component\\Routing\\RouteCompiler',
);
return $this
->addOptions($options);
}