Total Complexity | 7 |
Total Lines | 35 |
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 |
||
22 | } |
||
23 | |||
24 | protected function pathLocales(string $package, string $locale = null): string |
||
25 | { |
||
26 | return Path::locales($package, $locale); |
||
27 | } |
||
28 | |||
29 | protected function pathDirectory(string $path): string |
||
32 | } |
||
33 | |||
34 | protected function pathFilename(string $path): string |
||
37 | } |
||
38 | |||
39 | protected function pathExtension(string $path): string |
||
44 |