protected function removeAssetCache($file, $recursive)
    {
        $files = $this->asset->isJavascript($file) ? $this->asset->getParser()->javascriptFiles($file) : $this->asset->getParser()->stylesheetFiles($file);

        array_push($files, $this->asset->getParser()->absoluteFilePath($file));

        foreach ($files as $file)
        {
            $removed = $this->asset->getGenerator()->cachedFile($file)->remove();

            if ($removed === false) {
                $this->writeln(PHP_EOL . "<warning> failed to find/remove cache for {$file}</warning>");
            }
        }
    }
protected function removeAssetCache($file, $recursive)
    {
        $files = $this->asset->isJavascript($file) ? $this->asset->getParser()->javascriptFiles($file) : $this->asset->getParser()->stylesheetFiles($file);

        array_push($files, $this->asset->getParser()->absoluteFilePath($file));

        foreach ($files as $file)
        {
            $removed = $this->asset->getGenerator()->cachedFile($file)->remove();

            if ($removed === false) {
                $this->writeln(PHP_EOL . "<warning> failed to find/remove cache for {$file}</warning>");
            }
        }
    }
protected function removeAssetCache ( $ file , $ recursive ) { $ files = $ this -> asset -> isJavascript ( $ file ) ? $ this -> asset -> getParser ( ) -> javascriptFiles ( $ file ) : $ this -> asset -> getParser ( ) -> stylesheetFiles ( $ file ) ; array_push ( $ files , $ this -> asset -> getParser ( ) -> absoluteFilePath ( $ file ) ) ; foreach ( $ files as $ file ) { $ removed = $ this -> asset -> getGenerator ( ) -> cachedFile ( $ file ) -> remove ( ) ; if ( $ removed === false ) { $ this -> writeln ( PHP_EOL . "<warning> failed to find/remove cache for {$file}</warning>" ) ; } } }
Removes the AssetCache for this file

@param  [type] $file      [description]
@param  [type] $recursive [description]
@return [type]            [description]
Removes the AssetCache for this file