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); |
||
22 | public function boot() |
||
23 | { |
||
24 | $this->container()->bindFactory(Filesystem::class, function () { |
||
25 | return new Filesystem(new Local($this->kernel()->rootPath())); |
||
26 | }); |
||
27 | $this->container()->bindClass(FilesystemInterface::class, Filesystem::class); |
||
28 | $this->container()->bindClass(VentaFilesystemContract::class, VentaFilesystem::class); |
||
29 | } |
||
30 | |||
31 | } |