Skip to content

Commit 917c956

Browse files
Merge branch '3.1'
* 3.1: [Routing] Add missing options in docblock [VarDumper] Fix dumping continuations [PropertyInfo] Fix an error in PropertyInfoCacheExtractor [HttpFoundation] fixed Request::getContent() reusage bug [Form] Skip CSRF validation on form when POST max size is exceeded Use try-finally where it possible [DependencyInjection] ContainerBuilder: Remove obsolete definitions Enhance the phpDoc return types so IDEs can handle the configuration tree. fixes Remove 3.0 from branch suggestions for fixes in PR template [Process] Strengthen Windows pipe files opening (again...) [Cache] Handle unserialize() failures gracefully Fix #19531 [Form] DateType fails parsing when midnight is not a valid time
2 parents 296b78a + 8edf624 commit 917c956

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

Router.php

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,19 @@ public function __construct(LoaderInterface $loader, $resource, array $options =
106106
*
107107
* Available options:
108108
*
109-
* * cache_dir: The cache directory (or null to disable caching)
110-
* * debug: Whether to enable debugging or not (false by default)
111-
* * resource_type: Type hint for the main resource (optional)
109+
* * cache_dir: The cache directory (or null to disable caching)
110+
* * debug: Whether to enable debugging or not (false by default)
111+
* * generator_class: The name of a UrlGeneratorInterface implementation
112+
* * generator_base_class: The base class for the dumped generator class
113+
* * generator_cache_class: The class name for the dumped generator class
114+
* * generator_dumper_class: The name of a GeneratorDumperInterface implementation
115+
* * matcher_class: The name of a UrlMatcherInterface implementation
116+
* * matcher_base_class: The base class for the dumped matcher class
117+
* * matcher_dumper_class: The class name for the dumped matcher class
118+
* * matcher_cache_class: The name of a MatcherDumperInterface implementation
119+
* * resource_type: Type hint for the main resource (optional)
120+
* * strict_requirements: Configure strict requirement checking for generators
121+
* implementing ConfigurableRequirementsInterface (default is true)
112122
*
113123
* @param array $options An array of options
114124
*

0 commit comments

Comments
 (0)