public function activate(Composer $composer, IOInterface $io)
    {
        /** composer and io properties are assgned for convenience */
        $this->composer = $composer;
        $this->io = $io;
    }
public function activate(Composer $composer, IOInterface $io)
    {
        /** composer and io properties are assgned for convenience */
        $this->composer = $composer;
        $this->io = $io;
    }
public function activate ( Composer $ composer , IOInterface $ io ) { /** composer and io properties are assgned for convenience */ $ this -> composer = $ composer ; $ this -> io = $ io ; }
The activation method is called when the plugin is activated.

@param Composer    $composer
@param IOInterface $io
The activation method is called when the plugin is activated .