9 * This source file is subject to the new BSD license that is bundled
10 * with this package in the file LICENSE.
11 * It is also available through the world-wide-web at this URL:
12 * http://phergie.org/license
16 * @author Phergie Development Team <team@phergie.org>
17 * @copyright 2008-2010 Phergie Development Team (http://phergie.org)
18 * @license http://phergie.org/license New BSD License
19 * @link http://pear.phergie.org/package/Phergie
23 * Event originating from a plugin for the bot.
27 * @author Phergie Development Team <team@phergie.org>
28 * @license http://phergie.org/license New BSD License
29 * @link http://pear.phergie.org/package/Phergie
31 class Phergie_Event_Command extends Phergie_Event_Request
34 * Reference to the plugin instance that created the event
36 * @var Phergie_Plugin_Abstract
41 * Stores a reference to the plugin instance that created the event.
43 * @param Phergie_Plugin_Abstract $plugin Plugin instance
45 * @return Phergie_Event_Command Provides a fluent interface
47 public function setPlugin(Phergie_Plugin_Abstract $plugin)
49 $this->plugin = $plugin;
54 * Returns a reference to the plugin instance that created the event.
56 * @return Phergie_Plugin_Abstract
58 public function getPlugin()