Cache::has(self::CACHE_KEY), 'ttl' => Cache::get(self::CACHE_KEY.'_ttl', null), 'driver' => config('cache.default'), 'path' => public_path(self::FILES_DIR), 'directory_exists' => is_dir(public_path(self::FILES_DIR)) ]; } }