@@ 118-128 (lines=11) @@ | ||
115 | * |
|
116 | * @return mixed[] |
|
117 | */ |
|
118 | public function getSimpleArrayCopy() |
|
119 | { |
|
120 | $_aReturn = []; |
|
121 | ||
122 | foreach ($this as $_sProperty => $mValue) |
|
123 | { |
|
124 | $_aReturn[$_sProperty] = (is_array($mValue) || is_object($mValue)) ? json_encode($mValue) : $mValue; |
|
125 | } |
|
126 | ||
127 | return $_aReturn; |
|
128 | } |
|
129 | ||
130 | /** |
|
131 | * @return bool |
@@ 178-188 (lines=11) @@ | ||
175 | * @inheritdoc |
|
176 | * @return array |
|
177 | */ |
|
178 | public function getSimpleArrayCopy() |
|
179 | { |
|
180 | $_aReturn = []; |
|
181 | ||
182 | foreach ($this as $_sProperty => $mValue) |
|
183 | { |
|
184 | $_aReturn[$_sProperty] = (is_array($mValue) || is_object($mValue)) ? json_encode($mValue) : $mValue; |
|
185 | } |
|
186 | ||
187 | return $_aReturn; |
|
188 | } |
|
189 | ||
190 | /** |
|
191 | * @inheritdoc |