| Total Complexity | 4 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | class PathTransform |
||
| 16 | { |
||
| 17 | use TPathTransform; |
||
| 18 | |||
| 19 | protected IPATranslations $lang; |
||
| 20 | |||
| 21 | 11 | public static function get(IPATranslations $lang = null): self |
|
| 22 | { |
||
| 23 | 11 | return new self($lang); |
|
| 24 | } |
||
| 25 | |||
| 26 | 18 | public function __construct(IPATranslations $lang = null) |
|
| 27 | { |
||
| 28 | 18 | $this->lang = $lang ?: new Translations(); |
|
| 29 | } |
||
| 30 | |||
| 31 | 2 | protected function noDirectoryDelimiterSet(): string |
|
| 34 | } |
||
| 35 | } |
||
| 36 |