| Total Complexity | 3 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 18 | class BicStrategy extends AbstractConstraintStrategy |
||
| 19 | { |
||
| 20 | 1 | protected function generateArguments(array $config): array |
|
| 21 | { |
||
| 22 | 1 | $parent = parent::generateArguments($config); |
|
| 23 | 1 | $current = [ |
|
| 24 | 1 | 'iban' => $config['iban'] ?? null, |
|
| 25 | 1 | 'ibanMessage' => $config['message_iban'] ?? null, |
|
| 26 | 1 | 'ibanPropertyPath' => $config['iban_property_path'] ?? null, |
|
| 27 | 1 | ]; |
|
| 28 | |||
| 29 | 1 | return array_filter(array_merge($parent, $current)); |
|
| 30 | } |
||
| 31 | |||
| 32 | 1 | protected function getValidatorProperty(): string |
|
| 33 | { |
||
| 34 | 1 | return 'bic'; |
|
| 35 | } |
||
| 36 | |||
| 37 | 1 | protected function getAttributeClassName(): string |
|
| 40 | } |
||
| 41 | } |
||
| 42 |