Skip to content

Commit eca7c82

Browse files
committed
refactor: remove Router::$filterInfo and getFilter()
1 parent 756d143 commit eca7c82

1 file changed

Lines changed: 0 additions & 23 deletions

File tree

‎system/Router/Router.php‎

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -99,16 +99,6 @@ class Router implements RouterInterface
9999
*/
100100
protected $detectedLocale;
101101

102-
/**
103-
* The filter info from Route Collection
104-
* if the matched route should be filtered.
105-
*
106-
* @var string|null
107-
*
108-
* @deprecated Use $filtersInfo
109-
*/
110-
protected $filterInfo;
111-
112102
/**
113103
* The filter info from Route Collection
114104
* if the matched route should be filtered.
@@ -179,7 +169,6 @@ public function handle(?string $uri = null)
179169
$uri = urldecode($uri);
180170

181171
// Restart filterInfo
182-
$this->filterInfo = null;
183172
$this->filtersInfo = [];
184173

185174
// Checks defined routes
@@ -206,18 +195,6 @@ public function handle(?string $uri = null)
206195
return $this->controllerName();
207196
}
208197

209-
/**
210-
* Returns the filter info for the matched route, if any.
211-
*
212-
* @return string|null
213-
*
214-
* @deprecated Use getFilters()
215-
*/
216-
public function getFilter()
217-
{
218-
return $this->filterInfo;
219-
}
220-
221198
/**
222199
* Returns the filter info for the matched route, if any.
223200
*

0 commit comments

Comments
 (0)