public function activate(Composer $composer, IOInterface $io): void
    {
        $this->installer = new Installer($io, $composer);
        $this->vendorPath = $composer->getConfig()->get('vendor-dir');
        $composer->getInstallationManager()->addInstaller($this->installer);
    }
public function activate(Composer $composer, IOInterface $io): void
    {
        $this->installer = new Installer($io, $composer);
        $this->vendorPath = $composer->getConfig()->get('vendor-dir');
        $composer->getInstallationManager()->addInstaller($this->installer);
    }
public function activate ( Composer $ composer , IOInterface $ io ) : void { $ this -> installer = new Installer ( $ io , $ composer ) ; $ this -> vendorPath = $ composer -> getConfig ( ) -> get ( 'vendor-dir' ) ; $ composer -> getInstallationManager ( ) -> addInstaller ( $ this -> installer ) ; }
Called after the plugin is loaded

It setup composer installer

{@inheritDoc}
Called after the plugin is loaded