@@ 80-95 (lines=16) @@ | ||
77 | * @throws ParameterCircularReferenceException |
|
78 | * @throws ParameterNotFoundException |
|
79 | */ |
|
80 | private function resolveValue($value, $resolving = []) |
|
81 | { |
|
82 | if (is_bool($value) || is_numeric($value)) { |
|
83 | return $value; |
|
84 | } |
|
85 | ||
86 | if (is_array($value)) { |
|
87 | return $this->resolveArray($value, $resolving); |
|
88 | } |
|
89 | ||
90 | if (is_string($value)) { |
|
91 | return $this->resolveString($value, $resolving); |
|
92 | } |
|
93 | ||
94 | return $value; |
|
95 | } |
|
96 | ||
97 | private function resolveArray(array $arrayValue, array $resolving) |
|
98 | { |
@@ 62-77 (lines=16) @@ | ||
59 | * @throws ParameterCircularReferenceException |
|
60 | * @throws ParameterNotFoundException |
|
61 | */ |
|
62 | private function resolveValue($value, $resolving = []) |
|
63 | { |
|
64 | if (is_bool($value) || is_numeric($value)) { |
|
65 | return $value; |
|
66 | } |
|
67 | ||
68 | if (is_array($value)) { |
|
69 | return $this->resolveArray($value, $resolving); |
|
70 | } |
|
71 | ||
72 | if (is_string($value)) { |
|
73 | return $this->resolveString($value, $resolving); |
|
74 | } |
|
75 | ||
76 | return $value; |
|
77 | } |
|
78 | ||
79 | private function resolveArray(array $arrayValue, array $resolving) |
|
80 | { |