| Total Complexity | 1 | 
| Total Lines | 25 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 8 | abstract class CleanupStrategy | ||
| 9 | { | ||
| 10 | /** | ||
| 11 | * @var \Illuminate\Contracts\Config\Repository | ||
| 12 | */ | ||
| 13 | protected $config; | ||
| 14 | |||
| 15 | /** | ||
| 16 | * Create a new cleanup strategy instance. | ||
| 17 | * | ||
| 18 | * @param \Illuminate\Contracts\Config\Repository $config | ||
| 19 | * @return void | ||
| 20 | */ | ||
| 21 | public function __construct(Repository $config) | ||
| 24 | } | ||
| 25 | |||
| 26 | /** | ||
| 27 | * Execute cleanup strategy. | ||
| 28 | * | ||
| 29 | * @param \Illuminate\Database\Eloquent\Collection $users | ||
| 30 | * @return void | ||
| 31 | */ | ||
| 32 | abstract public function execute(Collection $users); | ||
| 33 | } | ||
| 34 |