GraphAware\Neo4j\OGM\Metadata\NodeEntityMetadata::getSimpleRelationships PHP Method

getSimpleRelationships() public method

public getSimpleRelationships ( $andLazy = true ) : RelationshipMetadata[]
return RelationshipMetadata[]
    public function getSimpleRelationships($andLazy = true)
    {
        $coll = [];
        foreach ($this->relationships as $relationship) {
            if (!$relationship->isRelationshipEntity() && (!$relationship->isLazy() || $relationship->isLazy() === $andLazy)) {
                $coll[] = $relationship;
            }
        }
        return $coll;
    }