private function loadFromExtensions(\DOMDocument $xml)
    {
        foreach ($xml->documentElement->childNodes as $node) {
            if (!$node instanceof \DOMElement || self::NS === $node->namespaceURI) {
                continue;
            }

            $values = static::convertDomElementToArray($node);
            if (!is_array($values)) {
                $values = array();
            }

            $this->container->loadFromExtension($node->namespaceURI, $values);
        }
    }
private function loadFromExtensions(\DOMDocument $xml)
    {
        foreach ($xml->documentElement->childNodes as $node) {
            if (!$node instanceof \DOMElement || self::NS === $node->namespaceURI) {
                continue;
            }

            $values = static::convertDomElementToArray($node);
            if (!is_array($values)) {
                $values = array();
            }

            $this->container->loadFromExtension($node->namespaceURI, $values);
        }
    }
private function loadFromExtensions ( \ DOMDocument $ xml ) { foreach ( $ xml -> documentElement -> childNodes as $ node ) { if ( ! $ node instanceof \ DOMElement || self :: NS === $ node -> namespaceURI ) { continue ; } $ values = static :: convertDomElementToArray ( $ node ) ; if ( ! is_array ( $ values ) ) { $ values = array ( ) ; } $ this -> container -> loadFromExtension ( $ node -> namespaceURI , $ values ) ; } }
Loads from an extension.

@param \DOMDocument $xml
Loads from an extension .