| 1 | <?php |
||
| 10 | class DirectEventBus implements EventBus |
||
| 11 | { |
||
| 12 | protected $listeners = []; |
||
| 13 | |||
| 14 | public function __construct(array $handlerMap = []) |
||
| 20 | |||
| 21 | public function publish(CommittedEvents $events) |
||
| 24 | |||
| 25 | public function subscribe($eventName, Listener $listener) |
||
| 29 | |||
| 30 | protected static function guardAgainstInvalidListener($listener) |
||
| 36 | } |
||
| 37 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.