ComponentInstaller\Installer::installCode PHP Method

installCode() public method

Before installing the Component, be sure its destination is clear first.
public installCode ( Composer\Package\PackageInterface $package )
$package Composer\Package\PackageInterface
    public function installCode(PackageInterface $package)
    {
        $this->removeComponent($package);
        parent::installCode($package);
    }