| Conditions | 2 |
| Paths | 1 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 39 | protected function registerDrivers(): void |
||
| 40 | { |
||
| 41 | $this->app->extend('filesystem', function (FilesystemManager $manager) { |
||
| 42 | foreach ($this->driversMap as $driver => $class) { |
||
| 43 | $manager->extend($driver, Closure::fromCallable(new $class())); |
||
| 44 | } |
||
| 45 | |||
| 46 | return $manager; |
||
| 47 | }); |
||
| 48 | } |
||
| 49 | } |
||
| 50 |