Skip to content

Commit e4f477c

Browse files
committed
add missing public methods to interface
1 parent 1c4e04d commit e4f477c

2 files changed

Lines changed: 42 additions & 0 deletions

File tree

src/Illuminate/Routing/CompiledRouteCollection.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff 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
*

src/Illuminate/Routing/RouteCollectionInterface.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff 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
*

0 commit comments

Comments
 (0)