| 1 | <?php |
||
| 12 | final class InvoiceEmailManager implements InvoiceEmailManagerInterface |
||
| 13 | { |
||
| 14 | /** @var SenderInterface */ |
||
| 15 | private $emailSender; |
||
| 16 | |||
| 17 | /** @var InvoiceRepositoryInterface */ |
||
| 18 | private $invoiceRepository; |
||
| 19 | |||
| 20 | public function __construct(SenderInterface $emailSender, InvoiceRepositoryInterface $invoiceRepository) |
||
| 25 | |||
| 26 | public function sendInvoiceEmail(PaymentInterface $payment): void |
||
| 39 | } |
||
| 40 |