GraphAware\Neo4j\OGM\Metadata\NodeEntityMetadata::getSimpleRelationships PHP Метод

getSimpleRelationships() публичный Метод

public getSimpleRelationships ( $andLazy = true ) : RelationshipMetadata[]
Результат RelationshipMetadata[]
    public function getSimpleRelationships($andLazy = true)
    {
        $coll = [];
        foreach ($this->relationships as $relationship) {
            if (!$relationship->isRelationshipEntity() && (!$relationship->isLazy() || $relationship->isLazy() === $andLazy)) {
                $coll[] = $relationship;
            }
        }
        return $coll;
    }