public static function clean(InputInterface $input) { self::_initConfig($input); $serverRootPath = Config::getServerRootPath() . DIRECTORY_SEPARATOR; if (file_exists($serverRootPath . '.assetsrc')) { unlink($serverRootPath . '.assetsrc'); } Helper::emptyDirectory($serverRootPath . 'uglified' . DIRECTORY_SEPARATOR . 'assets'); Helper::emptyDirectory($serverRootPath . 'tmp' . DIRECTORY_SEPARATOR . 'assets'); }