Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
26 | 1 | public function resolve(array $value) : array |
|
27 | { |
||
28 | 1 | $optionsResolver = new OptionsResolver(); |
|
29 | 1 | $optionsResolver->setDefined(self::NAME); |
|
30 | 1 | $this->setSourceAllowedValues($optionsResolver); |
|
31 | |||
32 | 1 | $values = $optionsResolver->resolve([ |
|
33 | 1 | self::NAME => $value |
|
34 | ]); |
||
35 | |||
36 | 1 | return $values[self::NAME]; |
|
37 | } |
||
38 | |||
55 |