| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 12 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 2 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 39 | public function handle() | ||
| 40 |     { | ||
| 41 |         $config = config('gdpr'); | ||
| 42 | |||
| 43 |         $userModel = config('auth.providers.users.model'); | ||
| 44 | $users = $userModel::all(); | ||
| 45 | |||
| 46 | $strategy = app($config['cleanup']['strategy']); | ||
| 47 | |||
| 48 | CleanupJob::dispatch($users, $strategy); | ||
| 49 | |||
| 50 |         $this->info('CleanupJob dispatched'); | ||
| 51 | } | ||
| 53 |