You are here

public function InvoiceFilenameEvent::getInvoice in Commerce Invoice 8.2

Gets the invoice.

Return value

\Drupal\commerce_invoice\Entity\InvoiceInterface The invoice.

File

src/Event/InvoiceFilenameEvent.php, line 71

Class

InvoiceFilenameEvent
Defines the invoice filename event.

Namespace

Drupal\commerce_invoice\Event

Code

public function getInvoice() {
  return $this->invoice;
}