Example #1
0
 /**
  * @param InvoiceEvent $event
  */
 public function onInvoiceAccepted(InvoiceEvent $event)
 {
     $this->mailer->sendInvoice($event->getInvoice());
 }