@@ 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 | { |
@@ 67-82 (lines=16) @@ | ||
64 | * @throws ParameterCircularReferenceException |
|
65 | * @throws ParameterNotFoundException |
|
66 | */ |
|
67 | private function resolveValue($value, $resolving = []) |
|
68 | { |
|
69 | if (is_bool($value) || is_numeric($value)) { |
|
70 | return $value; |
|
71 | } |
|
72 | ||
73 | if (is_array($value)) { |
|
74 | return $this->resolveArray($value, $resolving); |
|
75 | } |
|
76 | ||
77 | if (is_string($value)) { |
|
78 | return $this->resolveString($value, $resolving); |
|
79 | } |
|
80 | ||
81 | return $value; |
|
82 | } |
|
83 | ||
84 | private function resolveArray(array $arrayValue, array $resolving) |
|
85 | { |