| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | public static function getViewFileHashIndex(): array |
||
| 29 | { |
||
| 30 | $filecache = []; |
||
| 31 | |||
| 32 | foreach (glob(Hyde::vendorPath('resources/views/**/*.blade.php')) as $file) { |
||
| 33 | $filecache[unslash(str_replace(Hyde::vendorPath(), '', (string) $file))] = [ |
||
|
|
|||
| 34 | 'unixsum' => unixsum_file($file), |
||
| 35 | ]; |
||
| 36 | } |
||
| 37 | |||
| 38 | return $filecache; |
||
| 39 | } |
||
| 58 |