| 1 | <?php |
||
| 9 | class RoutesWithoutGate extends Command |
||
| 10 | { |
||
| 11 | protected $signature = 'gates:routes-without-gate |
||
| 12 | {middleware=gate : The middleware name.}'; |
||
| 13 | |||
| 14 | protected $description = 'Shows routes without gate that has the middleware.'; |
||
| 15 | |||
| 16 | public function handle(Router $router) |
||
| 39 | |||
| 40 | protected function hasMiddleware(Route $route) |
||
| 44 | |||
| 45 | protected function hasGate(Route $route) |
||
| 49 | } |
||
| 50 |