| Conditions | 2 |
| Paths | 2 |
| Total Lines | 13 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | public static function getFilecache(): array |
||
| 15 | { |
||
| 16 | $filecache = []; |
||
| 17 | |||
| 18 | $files = glob(Hyde::vendorPath('resources/views/**/*.blade.php')); |
||
| 19 | |||
| 20 | foreach ($files as $file) { |
||
| 21 | $filecache[str_replace(Hyde::vendorPath(), '', $file)] = [ |
||
| 22 | 'unixsum' => static::unixsumFile($file), |
||
| 23 | ]; |
||
| 24 | } |
||
| 25 | |||
| 26 | return $filecache; |
||
| 27 | } |
||
| 67 |