protected function convertReferences($rawValue, Context $context)
    {
        $nodeIdentifiers = $rawValue;
        $result = [];

        if (is_array($nodeIdentifiers)) {
            foreach ($nodeIdentifiers as $nodeIdentifier) {
                $referencedNode = $context->getNodeByIdentifier($nodeIdentifier);
                if ($referencedNode !== null) {
                    $result[] = $referencedNode;
                }
            }
        }

        return $result;
    }
protected function convertReferences($rawValue, Context $context)
    {
        $nodeIdentifiers = $rawValue;
        $result = [];

        if (is_array($nodeIdentifiers)) {
            foreach ($nodeIdentifiers as $nodeIdentifier) {
                $referencedNode = $context->getNodeByIdentifier($nodeIdentifier);
                if ($referencedNode !== null) {
                    $result[] = $referencedNode;
                }
            }
        }

        return $result;
    }
protected function convertReferences ( $ rawValue , Context $ context ) { $ nodeIdentifiers = $ rawValue ; $ result = [ ] ; if ( is_array ( $ nodeIdentifiers ) ) { foreach ( $ nodeIdentifiers as $ nodeIdentifier ) { $ referencedNode = $ context -> getNodeByIdentifier ( $ nodeIdentifier ) ; if ( $ referencedNode !== null ) { $ result [ ] = $ referencedNode ; } } } return $ result ; }
Convert raw value to references

@param string $rawValue
@param Context $context
@return array<NodeInterface>
Convert raw value to references