You are here

public function InvoiceFileManager::__construct in Commerce Invoice 8.2

Constructs a new InvoiceController object.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

\Drupal\entity_print\Plugin\EntityPrintPluginManagerInterface $plugin_manager: The Entity print plugin manager.

\Drupal\commerce_invoice\InvoicePrintBuilderInterface $print_builder: The print builder.

File

src/InvoiceFileManager.php, line 46

Class

InvoiceFileManager
Default implementation of the invoice file manager.

Namespace

Drupal\commerce_invoice

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, EntityPrintPluginManagerInterface $plugin_manager, InvoicePrintBuilderInterface $print_builder) {
  $this->entityTypeManager = $entity_type_manager;
  $this->pluginManager = $plugin_manager;
  $this->printBuilder = $print_builder;
}