You are here

public function RecurringOrderManager::__construct in Commerce Recurring Framework 8

Constructs a new RecurringOrderManager object.

Parameters

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

\Drupal\Component\Datetime\TimeInterface $time: The time.

File

src/RecurringOrderManager.php, line 40

Class

RecurringOrderManager
Provides the default recurring order manager.

Namespace

Drupal\commerce_recurring

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, TimeInterface $time) {
  $this->entityTypeManager = $entity_type_manager;
  $this->time = $time;
}