| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php declare(strict_types = 1); |
||
| 23 | public function bind(MutableContainer $container) |
||
| 24 | { |
||
| 25 | $container->factory(Filesystem::class, function () { |
||
| 26 | return new Filesystem(new Local($this->kernel()->rootPath())); |
||
| 27 | }); |
||
| 28 | $container->bind(FilesystemInterface::class, Filesystem::class); |
||
| 29 | $container->bind(VentaFilesystemContract::class, VentaFilesystem::class); |
||
| 30 | } |
||
| 31 | |||
| 32 | } |