public function activate(Composer $composer, IOInterface $io)
    {
        //set config from root package
        $composer->getConfig()->merge(
            [
                'config' => [
                    'root_extra_config' => $composer->getPackage()->getExtra(),
                ],
            ]
        );

        $this->initConfig($composer);

        $this->initMultiVcsRepositories($composer, $io);
    }
public function activate(Composer $composer, IOInterface $io)
    {
        //set config from root package
        $composer->getConfig()->merge(
            [
                'config' => [
                    'root_extra_config' => $composer->getPackage()->getExtra(),
                ],
            ]
        );

        $this->initConfig($composer);

        $this->initMultiVcsRepositories($composer, $io);
    }
public function activate ( Composer $ composer , IOInterface $ io ) { //set config from root package $ composer -> getConfig ( ) -> merge ( [ 'config' => [ 'root_extra_config' => $ composer -> getPackage ( ) -> getExtra ( ) , ] , ] ) ; $ this -> initConfig ( $ composer ) ; $ this -> initMultiVcsRepositories ( $ composer , $ io ) ; }
Plug-in activation

@param Composer    $composer
@param IOInterface $io
Plug - in activation