/**
  * Triggers an event if a listener is set
  *
  * @param   string  $eventName  Name of the event to trigger
  * @param   array   $arguments  Associative array of arguments for the event.
  *
  * @return  void
  *
  * @since   1.0
  */
 protected function triggerEvent($eventName, array $arguments)
 {
     $arguments['hookData'] = $this->hookData;
     parent::triggerEvent($eventName, $arguments);
 }
Esempio n. 2
0
 /**
  * Constructor.
  *
  * @since   1.0
  */
 public function __construct()
 {
     parent::__construct();
     $this->github = $this->getContainer()->get('gitHub');
 }