We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a002555 commit c5e9eb4Copy full SHA for c5e9eb4
src/Illuminate/Routing/Router.php
@@ -1216,6 +1216,26 @@ public function setCurrentRoute(Route $route)
1216
$this->currentRoute = $route;
1217
}
1218
1219
+ /**
1220
+ * Get the filters defined on the router.
1221
+ *
1222
+ * @return array
1223
+ */
1224
+ public function getFilters()
1225
+ {
1226
+ return $this->filters;
1227
+ }
1228
+
1229
1230
+ * Get the global filters defined on the router.
1231
1232
1233
1234
+ public function getGlobalFilters()
1235
1236
+ return $this->globalFilters;
1237
1238
1239
/**
1240
* Create a new URL matcher instance.
1241
*
0 commit comments