You are here

public function InvoiceFilenameEvent::setFilename in Commerce Invoice 8.2

Sets the invoice filename.

Parameters

string $filename: The invoice filename.

Return value

$this

File

src/Event/InvoiceFilenameEvent.php, line 60

Class

InvoiceFilenameEvent
Defines the invoice filename event.

Namespace

Drupal\commerce_invoice\Event

Code

public function setFilename($filename) {
  $this->filename = $filename;
  return $this;
}