Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
Files | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
getFacadeRoot | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 |
1 | <?php |
2 | |
3 | declare(strict_types=1); |
4 | |
5 | namespace Hyde\Foundation\Facades; |
6 | |
7 | use Hyde\Foundation\HydeKernel; |
8 | use Hyde\Foundation\Kernel\FileCollection; |
9 | use Illuminate\Support\Facades\Facade; |
10 | |
11 | /** |
12 | * @mixin \Hyde\Foundation\Kernel\FileCollection |
13 | */ |
14 | class Files extends Facade |
15 | { |
16 | public static function getFacadeRoot(): FileCollection |
17 | { |
18 | return HydeKernel::getInstance()->files(); |
19 | } |
20 | } |