src/Schema/Values/CacheValue.php
public function getKey(): string
    {
        $argKeys = $this->argKeys();

        return $this->implode([
            $this->privateCache
                ? 'auth'
                : null,
            $this->privateCache
                ? app('auth')->user()->getKey()
                : null,
            strtolower($this->resolveInfo->parentType->name),
            $this->fieldKey,
            strtolower($this->resolveInfo->fieldName),
            $argKeys->isNotEmpty()
                ? $argKeys->implode(':')
                : null,
        ]);
    }
public function getKey(): string
    {
        $argKeys = $this->argKeys();

        return $this->implode([
            $this->privateCache
                ? 'auth'
                : null,
            $this->privateCache
                ? app('auth')->user()->getKey()
                : null,
            strtolower($this->resolveInfo->parentType->name),
            $this->fieldKey,
            strtolower($this->resolveInfo->fieldName),
            $argKeys->isNotEmpty()
                ? $argKeys->implode(':')
                : null,
        ]);
    }
public function getKey ( ) : string { $ argKeys = $ this -> argKeys ( ) ; return $ this -> implode ( [ $ this -> privateCache ? 'auth' : null , $ this -> privateCache ? app ( 'auth' ) -> user ( ) -> getKey ( ) : null , strtolower ( $ this -> resolveInfo -> parentType -> name ) , $ this -> fieldKey , strtolower ( $ this -> resolveInfo -> fieldName ) , $ argKeys -> isNotEmpty ( ) ? $ argKeys -> implode ( ':' ) : null , ] ) ; }
Resolve key from root value.

@return string
Resolve key from root value .