| Total Complexity | 3 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | trait TranslatedAttributesHandlerTrait |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @param string[] $attributes |
||
| 13 | */ |
||
| 14 | private function getFormattedAttributesString(array $attributes, ValidationContext $context): string |
||
| 15 | { |
||
| 16 | return '"' . implode('", "', $this->getTranslatedAttributes($attributes, $context)) . '"'; |
||
| 17 | } |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @param string[] $attributes |
||
| 21 | * |
||
| 22 | * @return string[] |
||
| 23 | */ |
||
| 24 | private function getTranslatedAttributes(array $attributes, ValidationContext $context): array |
||
| 37 | } |
||
| 38 | } |
||
| 39 |