for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Onoi\EventDispatcher;
/**
* @license GNU GPL v2+
* @since 1.1
*
* @author mwjames
*/
trait EventDispatcherAwareTrait {
* @var EventDispatcher
protected $eventDispatcher;
* @param EventDispatcher $eventDispatcher
public function setEventDispatcher( EventDispatcher $eventDispatcher ) {
$this->eventDispatcher = $eventDispatcher;
}