private static function getStringElements(\DOMElement $parent, string $name) : array
    {
        $e = Utils::xpQuery($parent, './saml_metadata:'.$name);

        $ret = [];
        foreach ($e as $i) {
            $ret[] = $i->textContent;
        }

        return $ret;
    }
private static function getStringElements(\DOMElement $parent, string $name) : array
    {
        $e = Utils::xpQuery($parent, './saml_metadata:'.$name);

        $ret = [];
        foreach ($e as $i) {
            $ret[] = $i->textContent;
        }

        return $ret;
    }
private static function getStringElements ( \ DOMElement $ parent , string $ name ) : array { $ e = Utils :: xpQuery ( $ parent , './saml_metadata:' . $ name ) ; $ ret = [ ] ; foreach ( $ e as $ i ) { $ ret [ ] = $ i -> textContent ; } return $ ret ; }
Retrieve the value of a child \DOMElements as an array of strings.

@param  \DOMElement $parent The parent element.
@param  string     $name   The name of the child elements.
@return array      The value of the child elements.
Retrieve the value of a child \ DOMElements as an array of strings .