Symfony\Component\Routing\Router::setOptions
Sets options.
Available options: * cache_dir: The cache directory (or null to disable caching) * debug: Whether to enable debugging or not (false by default) * resource_type: Type hint for the main resource (optional)
Signature
public function setOptions(array
$options )
Parameters
$options
— array- An array of options
Errors/Exceptions
-
InvalidArgumentException
- When unsupported option is provided