Permalink
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (26 sloc) 763 Bytes
<?php
/**
* Phergie (http://phergie.org)
*
* @link http://github.com/phergie/phergie-irc-bot-react for the canonical source repository
* @copyright Copyright (c) 2008-2014 Phergie Development Team (http://phergie.org)
* @license http://phergie.org/license Simplified BSD License
* @package Phergie\Irc\Bot\React
*/
namespace Phergie\Irc\Bot\React;
use Evenement\EventEmitterInterface;
/**
* Interface for injection of an event emitter.
*
* @category Phergie
* @package Phergie\Irc\Bot\React
*/
interface EventEmitterAwareInterface
{
/**
* Sets the event emitter for the implementing class to use.
*
* @param \Evenement\EventEmitterInterface $emitter
*/
public function setEventEmitter(EventEmitterInterface $emitter);
}