You are here

public function InvoiceEvent::__construct in Commerce Invoice 8.2

Constructs a new InvoiceEvent.

Parameters

\Drupal\commerce_invoice\Entity\InvoiceInterface $invoice: The invoice.

File

src/Event/InvoiceEvent.php, line 28

Class

InvoiceEvent
Defines the invoice event.

Namespace

Drupal\commerce_invoice\Event

Code

public function __construct(InvoiceInterface $invoice) {
  $this->invoice = $invoice;
}