1 | <?php |
||
22 | trait Clearable |
||
23 | { |
||
24 | /** |
||
25 | * @var Cleanup |
||
26 | */ |
||
27 | protected $cleanupConfig; |
||
28 | |||
29 | /** |
||
30 | * @var Cleaner |
||
31 | */ |
||
32 | protected $cleaner; |
||
33 | |||
34 | /** |
||
35 | * Check sync clean configuration entities and set up a proper cleaner |
||
36 | * |
||
37 | * @param array $options |
||
38 | * @throws \phpbu\App\Exception |
||
39 | */ |
||
40 | 16 | public function setUpClearable(array $options) |
|
57 | |||
58 | /** |
||
59 | * @param Target $target |
||
60 | * @param Result $result |
||
61 | */ |
||
62 | 6 | public function simulateRemoteCleanup(Target $target, Result $result) |
|
68 | } |