Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
18 | public function created(MobileHandle $relay) |
||
19 | { |
||
20 | tap($this->dispatcher, function($dispatcher) use ($relay) { |
||
21 | tap(new RelayEvent(RelayEvents::CREATED), function (RelayEvent $event) use ($relay, $dispatcher) { |
||
22 | $dispatcher->dispatch($event->setRelay($relay)); |
||
23 | }); |
||
24 | }); |
||
25 | } |
||
26 | } |