| Total Complexity | 3 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | trait CharsetConfigurationTrait |
||
| 21 | { |
||
| 22 | 19 | private static function addCharsetConfigurationNode(NodeBuilder $nodeBuilder, ?string $defaultCharset): NodeBuilder |
|
| 23 | { |
||
| 24 | return $nodeBuilder |
||
|
|
|||
| 25 | 19 | ->scalarNode('charset') |
|
| 26 | 19 | ->defaultValue($defaultCharset) |
|
| 27 | 19 | ->end(); |
|
| 28 | } |
||
| 29 | |||
| 30 | 19 | private static function addCharsetConfigurationNodeFromDefaultsConfiguration(NodeBuilder $nodeBuilder, DefaultsConfigurationModel $defaultsConfiguration): NodeBuilder |
|
| 33 | } |
||
| 34 | |||
| 35 | 2 | private static function getConfiguredCharset(ActionConfiguration $actionConfiguration): ?string |
|
| 42 |