| Total Complexity | 2 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | trait LocaleKeysTrait |
||
| 8 | { |
||
| 9 | use LocalePathsTrait; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * Get a locale key built by the given state's name and value. |
||
| 13 | * |
||
| 14 | * @param string $state_name |
||
| 15 | * @param mixed $state_value |
||
| 16 | * @return string |
||
| 17 | */ |
||
| 18 | protected function getLocaleKey(string $state_name, $state_value): string |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Get a locales key built by the given state's name. |
||
| 25 | * |
||
| 26 | * @param string $state_name |
||
| 27 | * @return string |
||
| 28 | */ |
||
| 29 | protected function getLocalesKey(string $state_name): string |
||
| 34 |