public function OrderPlacedSubscriber::__construct in Commerce Invoice 8.2
Constructs a new OrderPlacedSubscriber object.
Parameters
\Drupal\commerce_invoice\InvoiceGeneratorInterface $invoice_generator: The invoice generator.
File
- src/
EventSubscriber/ OrderPlacedSubscriber.php, line 25
Class
Namespace
Drupal\commerce_invoice\EventSubscriberCode
public function __construct(InvoiceGeneratorInterface $invoice_generator) {
$this->invoiceGenerator = $invoice_generator;
}