1 | <?php |
||
11 | class DeleteUsers extends Command |
||
12 | { |
||
13 | /** |
||
14 | * The name and signature of the console command. |
||
15 | * |
||
16 | * @var string |
||
17 | */ |
||
18 | protected $signature = 'users:purge'; |
||
19 | |||
20 | /** |
||
21 | * The console command description. |
||
22 | * |
||
23 | * @var string |
||
24 | */ |
||
25 | protected $description = 'Deletes users on their destroyed date.'; |
||
26 | |||
27 | protected $destroyed; |
||
28 | |||
29 | /** |
||
30 | * Create a new command instance. |
||
31 | */ |
||
32 | 2 | public function __construct() |
|
37 | |||
38 | /** |
||
39 | * Execute the console command. |
||
40 | * |
||
41 | * @return DeleteUsers |
||
42 | */ |
||
43 | 2 | public function handle() |
|
49 | |||
50 | /** |
||
51 | * Return list of users who were destroyed. |
||
52 | * |
||
53 | * @return Collection |
||
54 | */ |
||
55 | 2 | public function getList() |
|
59 | |||
60 | 2 | public function setDestroyed() |
|
73 | } |
||
74 |