public function resolvedRelationshipKeys(): array
    {
        $includeMap = $this->includeMap();

        $keys = [];
        foreach ($this->resolvedIncludeKeys() as $includeKey) {
            $relations = $includeMap[$includeKey]['relation'] ?? [];
            if (\count($relations) > 0) {
                array_push($keys, ...$relations);
            }
        }

        return array_unique($keys);
    }
public function resolvedRelationshipKeys(): array
    {
        $includeMap = $this->includeMap();

        $keys = [];
        foreach ($this->resolvedIncludeKeys() as $includeKey) {
            $relations = $includeMap[$includeKey]['relation'] ?? [];
            if (\count($relations) > 0) {
                array_push($keys, ...$relations);
            }
        }

        return array_unique($keys);
    }
public function resolvedRelationshipKeys ( ) : array { $ includeMap = $ this -> includeMap ( ) ; $ keys = [ ] ; foreach ( $ this -> resolvedIncludeKeys ( ) as $ includeKey ) { $ relations = $ includeMap [ $ includeKey ] [ 'relation' ] ?? [ ] ; if ( \ count ( $ relations ) > 0 ) { array_push ( $ keys , ... $ relations ) ; } } return array_unique ( $ keys ) ; }
Get a list of relationship keys for all of the includes which
have been resolved.

@return array
Get a list of relationship keys for all of the includes which have been resolved .