src/Sulu/Component/Content/Metadata/Parser/PropertiesXmlParser.php
private function loadTags(&$tags, \DOMXPath $xpath, \DOMNode $context = null)
    {
        $result = [];

        /** @var \DOMElement $node */
        foreach ($xpath->query('x:tag', $context) as $node) {
            $tag = $this->loadTag($xpath, $node);
            $this->validateTag($tag, $tags);

            $result[] = $tag;
        }

        return $result;
    }
private function loadTags(&$tags, \DOMXPath $xpath, \DOMNode $context = null)
    {
        $result = [];

        /** @var \DOMElement $node */
        foreach ($xpath->query('x:tag', $context) as $node) {
            $tag = $this->loadTag($xpath, $node);
            $this->validateTag($tag, $tags);

            $result[] = $tag;
        }

        return $result;
    }
private function loadTags ( & $ tags , \ DOMXPath $ xpath , \ DOMNode $ context = null ) { $ result = [ ] ; /** @var \DOMElement $node */ foreach ( $ xpath -> query ( 'x:tag' , $ context ) as $ node ) { $ tag = $ this -> loadTag ( $ xpath , $ node ) ; $ this -> validateTag ( $ tag , $ tags ) ; $ result [ ] = $ tag ; } return $ result ; }
load tags from given tag and validates them.
load tags from given tag and validates them .