\Phergie\Irc\Bot\React\PluginProcessorLoopInjector

Plugin processor that injects the plugin with the event loop of the bot's client if possible.

Summary

Methods
Properties
Constants
process()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

process()

process(\Phergie\Irc\Bot\React\PluginInterface $plugin, \Phergie\Irc\Bot\React\Bot $bot)

Injects the event loop of the bot's client into the plugin if it implements \Phergie\Irc\Bot\React\LoopInterface.

Parameters

\Phergie\Irc\Bot\React\PluginInterface $plugin

Loaded plugin

\Phergie\Irc\Bot\React\Bot $bot

Bot that loaded the plugin