Skip to content

Commit

Permalink
Added function addListener
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyholm committed Jul 7, 2019
1 parent 437fb3a commit e449381
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Service/BCEventDispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,9 @@ public function dispatch($event/*, string $eventName = null*/)

return $this->eventDispatcher->dispatch($eventName, $event);
}

public function addListener($eventName, $listener, $priority = 0)
{
return $this->eventDispatcher->addListener($eventName, $listener, $priority);
}
}

0 comments on commit e449381

Please sign in to comment.