protected function cleanManifestFiles($collection, Entry $entry)
    {
        if ( ! $entry->hasProductionFingerprints() or ! isset($this->environment[$collection]))
        {
            $this->deleteMatchingFiles($this->buildPath.'/'.$collection.'-*.*');

            $entry->resetProductionFingerprints();
        }

        if ( ! $entry->hasDevelopmentAssets() or ! isset($this->environment[$collection]))
        {
            $this->files->deleteDirectory($this->buildPath.'/'.$collection);

            $entry->resetDevelopmentAssets();
        }
    }
protected function cleanManifestFiles($collection, Entry $entry)
    {
        if ( ! $entry->hasProductionFingerprints() or ! isset($this->environment[$collection]))
        {
            $this->deleteMatchingFiles($this->buildPath.'/'.$collection.'-*.*');

            $entry->resetProductionFingerprints();
        }

        if ( ! $entry->hasDevelopmentAssets() or ! isset($this->environment[$collection]))
        {
            $this->files->deleteDirectory($this->buildPath.'/'.$collection);

            $entry->resetDevelopmentAssets();
        }
    }
protected function cleanManifestFiles ( $ collection , Entry $ entry ) { if ( ! $ entry -> hasProductionFingerprints ( ) or ! isset ( $ this -> environment [ $ collection ] ) ) { $ this -> deleteMatchingFiles ( $ this -> buildPath . '/' . $ collection . '-*.*' ) ; $ entry -> resetProductionFingerprints ( ) ; } if ( ! $ entry -> hasDevelopmentAssets ( ) or ! isset ( $ this -> environment [ $ collection ] ) ) { $ this -> files -> deleteDirectory ( $ this -> buildPath . '/' . $ collection ) ; $ entry -> resetDevelopmentAssets ( ) ; } }
Clean the collections manifest entry files.

@param  string  $collection
@param  \Basset\Manifest\Entry  $entry
@return void
Clean the collections manifest entry files .