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