1 | <?php |
||
10 | trait Clearable |
||
11 | { |
||
12 | /** |
||
13 | * @var Cleanup |
||
14 | */ |
||
15 | protected $cleanupConfig; |
||
16 | |||
17 | /** |
||
18 | * @var Cleaner |
||
19 | */ |
||
20 | protected $cleaner; |
||
21 | |||
22 | /** |
||
23 | * Check sync clean configuration entities and set up a proper cleaner |
||
24 | * |
||
25 | * @param array $options |
||
26 | * @throws \phpbu\App\Exception |
||
27 | */ |
||
28 | 14 | public function setUpClearable(array $options) |
|
45 | |||
46 | /** |
||
47 | * @param Target $target |
||
48 | * @param Result $result |
||
49 | */ |
||
50 | 6 | public function simulateRemoteCleanup(Target $target, Result $result) |
|
56 | } |