Zend_Config_Xml::_toArray
Returns a string or an associative and possibly multidimensional array from a SimpleXMLElement.
Signature
protected function _toArray(SimpleXMLElement
$xmlObject )
Parameters
-
$xmlObject
- Convert a SimpleXMLElement into an array
Returns
- array|string
Violations
PHPMessDetector
Line | Rule | Message |
---|---|---|
189 - 295 | CyclomaticComplexity | The method _toArray() has a Cyclomatic Complexity of 27. The configured cyclomatic complexity threshold is 10. |
189 - 295 | NPathComplexity | The method _toArray() has an NPath complexity of 9800. The configured NPath complexity threshold is 200. |
189 - 295 | ExcessiveMethodLength | The phpmd\node\methodnode _toArray() has 107 lines of code. Current threshold is set to 100. Avoid really long methods. |