public function onCommand(CommandEvent $event)
    {
        switch ($event->getCommandName()) {
            case 'dump-autoload':
                $_this = new DumpAutoloadEventHandler(
                    $this->__installer->getComposer()->getPackage(),
                    $this->__installer->getComposer()
                );
                break;
            default: break;
        }
    }
public function onCommand(CommandEvent $event)
    {
        switch ($event->getCommandName()) {
            case 'dump-autoload':
                $_this = new DumpAutoloadEventHandler(
                    $this->__installer->getComposer()->getPackage(),
                    $this->__installer->getComposer()
                );
                break;
            default: break;
        }
    }
public function onCommand ( CommandEvent $ event ) { switch ( $ event -> getCommandName ( ) ) { case 'dump-autoload' : $ _this = new DumpAutoloadEventHandler ( $ this -> __installer -> getComposer ( ) -> getPackage ( ) , $ this -> __installer -> getComposer ( ) ) ; break ; default : break ; } }
Command event dispatcher

@param \Composer\Plugin\CommandEvent $event
Command event dispatcher