/** * @param string|null $build * @return string */ public function getAppCachePath($build = null) { $build = $build ?: $this->application->getDefaultBuild(); if (!$this->application->hasAppCache($build)) { return ''; } return $this->generator->generate('tq_extjs_application_appcache', ['build' => $build, 'dev' => $this->application->isDevelopment() ? '-dev' : '']); }