Sulu\Component\Content\Metadata\Loader\XmlLegacyLoader::loadParams PHP Method

loadParams() private method

load params from given node.
private loadParams ( $path, DOMXPath $xpath, DOMNode $context = null )
$xpath DOMXPath
$context DOMNode
    private function loadParams($path, \DOMXPath $xpath, \DOMNode $context = null)
    {
        $result = [];
        /** @var \DOMElement $node */
        foreach ($xpath->query($path, $context) as $node) {
            $result[] = $this->loadParam($xpath, $node);
        }
        return $result;
    }