File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -64,15 +64,17 @@ interface RouteObjectInterface
64
64
public function getContent ();
65
65
66
66
/**
67
- * Get the route key .
67
+ * Get the route name .
68
68
*
69
- * This key will be used as route name instead of the name specified in the
70
- * route collection. There are no limitations to allowed characters in the
71
- * name.
69
+ * Normal symfony routes do not know their name, the name is only known
70
+ * from the route collection. In the CMF, it is possible to use route
71
+ * documents outside of collections, and thus useful to have routes provide
72
+ * their name.
72
73
*
73
- * Return null if you want to use the default name.
74
+ * There are no limitations to allowed characters in the name.
74
75
*
75
- * @return string|null the route name
76
+ * @return string|null the route name or null to use the default name
77
+ * (e.g. from route collection if known)
76
78
*/
77
79
public function getRouteKey ();
78
80
}
You can’t perform that action at this time.
0 commit comments