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