You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Symfony/Component/Routing/Attribute/Route.php
+28-16Lines changed: 28 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -28,22 +28,23 @@ class Route
28
28
privatearray$aliases = [];
29
29
30
30
/**
31
-
* @param string|array<string,string>|null $path The route path (i.e. "/user/login")
32
-
* @param string|null $name The route name (i.e. "app_user_login")
33
-
* @param array<string|\Stringable> $requirements Requirements for the route attributes, @see https://symfony.com/doc/current/routing.html#parameters-validation
34
-
* @param array<string, mixed> $options Options for the route (i.e. ['prefix' => '/api'])
35
-
* @param array<string, mixed> $defaults Default values for the route attributes and query parameters
36
-
* @param string|null $host The host for which this route should be active (i.e. "localhost")
37
-
* @param string|string[] $methods The list of HTTP methods allowed by this route
38
-
* @param string|string[] $schemes The list of schemes allowed by this route (i.e. "https")
39
-
* @param string|null $condition An expression that must evaluate to true for the route to be matched, @see https://symfony.com/doc/current/routing.html#matching-expressions
40
-
* @param int|null $priority The priority of the route if multiple ones are defined for the same path
41
-
* @param string|null $locale The locale accepted by the route
42
-
* @param string|null $format The format returned by the route (i.e. "json", "xml")
43
-
* @param bool|null $utf8 Whether the route accepts UTF-8 in its parameters
44
-
* @param bool|null $stateless Whether the route is defined as stateless or stateful, @see https://symfony.com/doc/current/routing.html#stateless-routes
45
-
* @param string|null $env The env in which the route is defined (i.e. "dev", "test", "prod")
46
-
* @param string|DeprecatedAlias|(string|DeprecatedAlias)[] $alias The list of aliases for this route
31
+
* @param string|array<string,string>|null $path The route path (i.e. "/user/login")
32
+
* @param string|null $name The route name (i.e. "app_user_login")
33
+
* @param array<string|\Stringable> $requirements Requirements for the route attributes, @see https://symfony.com/doc/current/routing.html#parameters-validation
34
+
* @param array<string, mixed> $options Options for the route (i.e. ['prefix' => '/api'])
35
+
* @param array<string, mixed> $defaults Default values for the route attributes and query parameters
36
+
* @param string|null $host The host for which this route should be active (i.e. "localhost")
37
+
* @param string|string[] $methods The list of HTTP methods allowed by this route
38
+
* @param string|string[] $schemes The list of schemes allowed by this route (i.e. "https")
39
+
* @param string|null $condition An expression that must evaluate to true for the route to be matched, @see https://symfony.com/doc/current/routing.html#matching-expressions
40
+
* @param int|null $priority The priority of the route if multiple ones are defined for the same path
41
+
* @param string|null $locale The locale accepted by the route
42
+
* @param string|null $format The format returned by the route (i.e. "json", "xml")
43
+
* @param bool|null $utf8 Whether the route accepts UTF-8 in its parameters
44
+
* @param bool|null $stateless Whether the route is defined as stateless or stateful, @see https://symfony.com/doc/current/routing.html#stateless-routes
45
+
* @param string|null $env The env in which the route is defined (i.e. "dev", "test", "prod")
46
+
* @param string|DeprecatedAlias|(string|DeprecatedAlias)[] $alias The list of aliases for this route
0 commit comments