@@ -25,6 +25,9 @@ |
||
| 25 | 25 | return parent::format($root, $path, $route) . '/'; |
| 26 | 26 | } |
| 27 | 27 | |
| 28 | + /** |
|
| 29 | + * @param string $path |
|
| 30 | + */ |
|
| 28 | 31 | private function pathIsFile($path): bool |
| 29 | 32 | { |
| 30 | 33 | return Str::contains(Str::afterLast($path, '/'), '.'); |