public function InvoiceItemEvent::__construct in Commerce Invoice 8.2
Constructs a new InvoiceItemEvent.
Parameters
\Drupal\commerce_invoice\Entity\InvoiceItemInterface $invoice_item: The invoice item.
File
- src/
Event/ InvoiceItemEvent.php, line 26
Class
- InvoiceItemEvent
- Defines the invoice item event.
Namespace
Drupal\commerce_invoice\EventCode
public function __construct(InvoiceItemInterface $invoice_item) {
$this->invoiceItem = $invoice_item;
}