Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $out = [];
- foreach (Route::getRoutes()->get() as $r){
- if(isset($r->action['controller'])){
- $out[] = $r->action['controller'];
- }
- }
- dd($out);
- $routeCollection = Route::getRoutes();
- foreach ($routeCollection as $value) {
- echo $value->getPath();
- }
- dd($query);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement