| Total Complexity | 2 | 
| Total Lines | 37 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 12 | class CleanupJob implements ShouldQueue | ||
| 13 | { | ||
| 14 | use Dispatchable, InteractsWithQueue, Queueable, SerializesModels; | ||
|  | |||
| 15 | |||
| 16 | /** | ||
| 17 | * @var \Illuminate\Database\Eloquent\Collection | ||
| 18 | */ | ||
| 19 | public $users; | ||
| 20 | |||
| 21 | /** | ||
| 22 | * @var | ||
| 23 | */ | ||
| 24 | public $strategy; | ||
| 25 | |||
| 26 | /** | ||
| 27 | * Create a new job instance. | ||
| 28 | * | ||
| 29 | * @param \Illuminate\Database\Eloquent\Collection $users | ||
| 30 | * @param \Soved\Laravel\Gdpr\Jobs\Cleanup\CleanupStrategy $strategy | ||
| 31 | * @return void | ||
| 32 | */ | ||
| 33 | public function __construct( | ||
| 34 | Collection $users, | ||
| 35 | CleanupStrategy $strategy | ||
| 36 |     ) { | ||
| 37 | $this->users = $users; | ||
| 38 | $this->strategy = $strategy; | ||
| 39 | } | ||
| 40 | |||
| 41 | /** | ||
| 42 | * Execute the job. | ||
| 43 | * | ||
| 44 | * @return void | ||
| 45 | */ | ||
| 46 | public function handle() | ||
| 49 | } | ||
| 50 | } | ||
| 51 |