| Total Complexity | 2 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | final class RemoveFileHandler |
||
| 13 | { |
||
| 14 | private $repository; |
||
| 15 | private $filesystem; |
||
| 16 | |||
| 17 | 3 | public function __construct( |
|
| 18 | FileRepository $repository, |
||
| 19 | Adapter $filesystem |
||
| 20 | ) { |
||
| 21 | 3 | $this->repository = $repository; |
|
| 22 | 3 | $this->filesystem = $filesystem; |
|
| 23 | 3 | } |
|
| 24 | |||
| 25 | 3 | public function __invoke(RemoveFile $wished): void |
|
| 32 | 3 | } |
|
| 33 | } |
||
| 34 |