/** * Initializes the Cache Filesystem. * * @param string $basePath */ protected function initializeCacheFs($basePath) { CacheFs::register(); mkdir('cachefs://framework'); mkdir('cachefs://framework/views'); mkdir('cachefs://bootstrap'); mkdir('cachefs://bootstrap/cache'); if (env('GAE_CACHE_CONFIG_FILE') === true) { $this->cacheFile($basePath . '/bootstrap/cache/config.php', 'cachefs://bootstrap/cache/config.php'); } if (env('GAE_CACHE_ROUTES_FILE') === true) { $this->cacheFile($basePath . '/bootstrap/cache/routes.php', 'cachefs://bootstrap/cache/routes.php'); } }
/** * Initializes the Cache Filesystem. */ protected function initializeFs() { return CacheFs::initialize(); }