Total Complexity | 3 |
Total Lines | 50 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | class ListTenants extends \Illuminate\Console\Command |
||
13 | { |
||
14 | use RendersTenants; |
||
|
|||
15 | |||
16 | /** |
||
17 | * The name and signature of the console command. |
||
18 | * |
||
19 | * @var string |
||
20 | */ |
||
21 | protected $signature = 'saml2:list-tenants'; |
||
22 | |||
23 | /** |
||
24 | * The console command description. |
||
25 | * |
||
26 | * @var string |
||
27 | */ |
||
28 | protected $description = 'List all the tenants'; |
||
29 | |||
30 | /** |
||
31 | * @var TenantRepository |
||
32 | */ |
||
33 | protected $tenants; |
||
34 | |||
35 | /** |
||
36 | * DeleteTenant constructor. |
||
37 | * |
||
38 | * @param TenantRepository $tenants |
||
39 | */ |
||
40 | public function __construct(TenantRepository $tenants) |
||
45 | } |
||
46 | |||
47 | /** |
||
48 | * Execute the console command. |
||
49 | * |
||
50 | * @return void |
||
51 | */ |
||
52 | public function handle() |
||
62 | } |
||
63 | } |