Total Complexity | 3 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class CleanerCollection implements CleanerInterface |
||
8 | { |
||
9 | /** |
||
10 | * @var CleanerInterface[] |
||
11 | */ |
||
12 | private $cleaners = []; |
||
13 | |||
14 | 2 | public function addCleaner(CleanerInterface $cleaner): self |
|
15 | { |
||
16 | 2 | $this->cleaners[] = $cleaner; |
|
17 | |||
18 | 2 | return $this; |
|
19 | } |
||
20 | |||
21 | 2 | public function clear(): void |
|
25 | } |
||
26 | 1 | } |
|
28 |