You are here

public function InitialOrderProcessor::__construct in Commerce Recurring Framework 8

Constructs a new InitialOrderProcessor object.

Parameters

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

File

src/InitialOrderProcessor.php, line 30

Class

InitialOrderProcessor
Modifies the price of order items which start subscriptions.

Namespace

Drupal\commerce_recurring

Code

public function __construct(TimeInterface $time) {
  $this->time = $time;
}