Total Complexity | 4 |
Total Lines | 53 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | class ExtractPhotos extends Command |
||
13 | { |
||
14 | /** |
||
15 | * The name and signature of the console command. |
||
16 | * |
||
17 | * @var string |
||
18 | */ |
||
19 | protected $signature = 'photo:extract {tenantId}'; |
||
20 | |||
21 | /** |
||
22 | * The console command description. |
||
23 | * |
||
24 | * @var string |
||
25 | */ |
||
26 | protected $description = 'Command description'; |
||
27 | |||
28 | protected $tenantManager; |
||
29 | |||
30 | /** |
||
31 | * Create a new command instance. |
||
32 | * |
||
33 | * @param TenantManager $tenantManager |
||
34 | */ |
||
35 | public function __construct(TenantManager $tenantManager) |
||
36 | { |
||
37 | parent::__construct(); |
||
38 | |||
39 | $this->tenantManager = $tenantManager; |
||
40 | } |
||
41 | |||
42 | /** |
||
43 | * Execute the console command. |
||
44 | * |
||
45 | * @return mixed |
||
46 | */ |
||
47 | public function handle() |
||
65 | } |
||
66 | } |
||
68 |