source/Spiral/ORM/Entities/Nodes/AbstractNode.php
public function getReferences(): array
    {
        if (empty($this->parent)) {
            throw new NodeException("Unable to aggregate reference values, parent is missing");
        }

        if (empty($this->parent->references[$this->outerKey])) {
            return [];
        }

        return array_keys($this->parent->references[$this->outerKey]);
    }
public function getReferences(): array
    {
        if (empty($this->parent)) {
            throw new NodeException("Unable to aggregate reference values, parent is missing");
        }

        if (empty($this->parent->references[$this->outerKey])) {
            return [];
        }

        return array_keys($this->parent->references[$this->outerKey]);
    }
public function getReferences ( ) : array { if ( empty ( $ this -> parent ) ) { throw new NodeException ( "Unable to aggregate reference values, parent is missing" ) ; } if ( empty ( $ this -> parent -> references [ $ this -> outerKey ] ) ) { return [ ] ; } return array_keys ( $ this -> parent -> references [ $ this -> outerKey ] ) ; }
Get list of reference key values aggregated by parent.

@return array

@throws NodeException
Get list of reference key values aggregated by parent .