src/ComposerPlugin.php
public function onPostAutoloadDump(Event $event) {
    $args = $event->isDevMode() ? '' : ' --no-dev';
    $finder = new ExecutableFinder();
    $hhvm = $finder->find('hhvm', 'hhvm');
    $executor = new ProcessExecutor($this->io);
    $command = $hhvm . ' ' . ProcessExecutor::escape($this->vendor.'/bin/hh-autoload.hack') . $args;
    $executor->execute($command);
  }
public function onPostAutoloadDump(Event $event) {
    $args = $event->isDevMode() ? '' : ' --no-dev';
    $finder = new ExecutableFinder();
    $hhvm = $finder->find('hhvm', 'hhvm');
    $executor = new ProcessExecutor($this->io);
    $command = $hhvm . ' ' . ProcessExecutor::escape($this->vendor.'/bin/hh-autoload.hack') . $args;
    $executor->execute($command);
  }
public function onPostAutoloadDump ( Event $ event ) { $ args = $ event -> isDevMode ( ) ? '' : ' --no-dev' ; $ finder = new ExecutableFinder ( ) ; $ hhvm = $ finder -> find ( 'hhvm' , 'hhvm' ) ; $ executor = new ProcessExecutor ( $ this -> io ) ; $ command = $ hhvm . ' ' . ProcessExecutor :: escape ( $ this -> vendor . '/bin/hh-autoload.hack' ) . $ args ; $ executor -> execute ( $ command ) ; }
Callback for after the main composer autoload map has been updated.

Here we update our autoload map.
Callback for after the main composer autoload map has been updated .