File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
src/Illuminate/Foundation/Console Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,8 @@ public function __construct(Router $router)
9191 */
9292 public function handle ()
9393 {
94+ dump ($ this ->option ('middleware ' ));
95+
9496 if (! $ this ->output ->isVeryVerbose ()) {
9597 $ this ->router ->flushMiddlewareGroups ();
9698 }
@@ -263,6 +265,10 @@ protected function isFrameworkController(Route $route)
263265 */
264266 protected function filterRoute (array $ route )
265267 {
268+ if ($ this ->option ('middleware ' )) {
269+ dump ($ route ['middleware ' ]);
270+ }
271+
266272 if (($ this ->option ('name ' ) && ! Str::contains ((string ) $ route ['name ' ], $ this ->option ('name ' ))) ||
267273 ($ this ->option ('action ' ) && isset ($ route ['action ' ]) && is_string ($ route ['action ' ]) && ! Str::contains ($ route ['action ' ], $ this ->option ('action ' ))) ||
268274 ($ this ->option ('path ' ) && ! Str::contains ($ route ['uri ' ], $ this ->option ('path ' ))) ||
You can’t perform that action at this time.
0 commit comments