/** * This event handler clears the assets cache. * * @access public * @param \Zepi\Turbo\Framework $framework * @param \Zepi\Turbo\Request\CliRequest $request * @param \Zepi\Turbo\Response\Response $response */ public function execute(Framework $framework, CliRequest $request, Response $response) { // Clean the asset cache $this->assetCacheManager->clearAssetCache(); $response->setOutputPart('cacheCleared', 'The asset cache was successfully cleared!'); }