public static function createForType($viewableType, $period, bool $unique): string
    {
        $cacheKey = config('eloquent-viewable.cache.key', 'cyrildewit.eloquent-viewable.cache');

        $viewableType = strtolower(str_replace('\\', '-', $viewableType));

        $typeKey = $unique ? 'unique' : 'normal';
        $periodKey = static::createPeriodKey($period);

        return "{$cacheKey}.{$viewableType}.{$typeKey}.{$periodKey}";
    }