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