| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | public function getViewName(SplFileInfo $viewFile): string |
||
| 20 | { |
||
| 21 | $subDirectory = $viewFile->getRelativePath(); |
||
| 22 | |||
| 23 | $view = Str::replaceLast('.blade.php', '', $viewFile->getFilename()); |
||
| 24 | |||
| 25 | return implode('.', array_filter([ |
||
| 26 | $this->viewDirectory, |
||
| 27 | $subDirectory, |
||
| 28 | $view, |
||
| 29 | ])); |
||
| 30 | } |
||
| 31 | |||
| 39 |