| Total Complexity | 6 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | trait Pathable |
||
| 8 | { |
||
| 9 | protected function pathSource(string $package, string $locale): string |
||
| 10 | { |
||
| 11 | return Path::source($package, $locale); |
||
| 12 | } |
||
| 13 | |||
| 14 | protected function pathTarget(string $locale, bool $is_json = false): string |
||
| 17 | } |
||
| 18 | |||
| 19 | protected function pathTargetFull(string $locale, ?string $filename, bool $is_json = false): string |
||
| 20 | { |
||
| 21 | return Path::targetFull($locale, $filename, $is_json); |
||
| 22 | } |
||
| 23 | |||
| 24 | protected function pathDirectory(string $path): string |
||
| 27 | } |
||
| 28 | |||
| 29 | protected function pathFilename(string $path): string |
||
| 32 | } |
||
| 33 | |||
| 34 | protected function pathExtension(string $path): string |
||
| 37 | } |
||
| 38 | } |
||
| 39 |