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