/**
  * Injects the bot's event emitter into the plugin if it implements
  * \Phergie\Irc\Bot\React\EventEmitterAwareInterface.
  *
  * @param \Phergie\Irc\Bot\React\PluginInterface $plugin Loaded plugin
  * @param \Phergie\Irc\Bot\React\Bot $bot Bot that loaded the plugin
  */
 public function process(PluginInterface $plugin, Bot $bot)
 {
     if ($plugin instanceof EventEmitterAwareInterface) {
         $plugin->setEventEmitter($bot->getClient());
     }
 }