1 | <?php namespace Spatie\Permission\Commands; |
||
6 | class CheckRouteRole extends RouteListCommand |
||
7 | { |
||
8 | |||
9 | /** |
||
10 | * {@inheritdoc} |
||
11 | */ |
||
12 | protected $name = 'permission:route:role'; |
||
13 | |||
14 | /** |
||
15 | * {@inheritdoc} |
||
16 | */ |
||
17 | protected $description = 'Table of all routes that do not have a role'; |
||
18 | |||
19 | /** |
||
20 | * {@inheritdoc} |
||
21 | */ |
||
22 | protected $headers = ['method', 'uri', 'name', 'controller', 'action', 'middleware']; |
||
23 | |||
24 | /** |
||
25 | * {@inheritdoc} |
||
26 | */ |
||
27 | protected function getRouteInformation(Route $route) |
||
43 | } |
||
44 |