File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -78,6 +78,30 @@ public function add(Route $route)
7878 return $ route ;
7979 }
8080
81+ /**
82+ * Refresh the name look-up table.
83+ *
84+ * This is done in case any names are fluently defined or if routes are overwritten.
85+ *
86+ * @return void
87+ */
88+ public function refreshNameLookups ()
89+ {
90+ //
91+ }
92+
93+ /**
94+ * Refresh the action look-up table.
95+ *
96+ * This is done in case any actions are overwritten with new controllers.
97+ *
98+ * @return void
99+ */
100+ public function refreshActionLookups ()
101+ {
102+ //
103+ }
104+
81105 /**
82106 * Find the first route matching a given request.
83107 *
Original file line number Diff line number Diff line change @@ -14,6 +14,24 @@ interface RouteCollectionInterface
1414 */
1515 public function add (Route $ route );
1616
17+ /**
18+ * Refresh the name look-up table.
19+ *
20+ * This is done in case any names are fluently defined or if routes are overwritten.
21+ *
22+ * @return void
23+ */
24+ public function refreshNameLookups ();
25+
26+ /**
27+ * Refresh the action look-up table.
28+ *
29+ * This is done in case any actions are overwritten with new controllers.
30+ *
31+ * @return void
32+ */
33+ public function refreshActionLookups ();
34+
1735 /**
1836 * Find the first route matching a given request.
1937 *
You can’t perform that action at this time.
0 commit comments