public function cleanUp()
    {
        $composerBinDirectory = $this->configuration->getComposerBinDirectory();

        if (false === is_dir($composerBinDirectory)) {
            $this->helper->getFilesystem()->createDirectory($composerBinDirectory);
        }

        $this->removeFromDir($composerBinDirectory);
        $this->removeFromDir(
            $this->configuration->getBinDirectory(),
            array_keys($this->configuration->getTools())
        );
    }
public function cleanUp()
    {
        $composerBinDirectory = $this->configuration->getComposerBinDirectory();

        if (false === is_dir($composerBinDirectory)) {
            $this->helper->getFilesystem()->createDirectory($composerBinDirectory);
        }

        $this->removeFromDir($composerBinDirectory);
        $this->removeFromDir(
            $this->configuration->getBinDirectory(),
            array_keys($this->configuration->getTools())
        );
    }
public function cleanUp ( ) { $ composerBinDirectory = $ this -> configuration -> getComposerBinDirectory ( ) ; if ( false === is_dir ( $ composerBinDirectory ) ) { $ this -> helper -> getFilesystem ( ) -> createDirectory ( $ composerBinDirectory ) ; } $ this -> removeFromDir ( $ composerBinDirectory ) ; $ this -> removeFromDir ( $ this -> configuration -> getBinDirectory ( ) , array_keys ( $ this -> configuration -> getTools ( ) ) ) ; }
Removes symlinks from composer's bin-dir and old phar's
from own bin-dir.
Removes symlinks from composer s bin - dir and old phar s from own bin - dir .