You are here

public function TimestampEventSubscriber::__construct in Commerce Core 8.2

Constructs a new TimestampEventSubscriber object.

Parameters

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

File

modules/order/src/EventSubscriber/TimestampEventSubscriber.php, line 24

Class

TimestampEventSubscriber

Namespace

Drupal\commerce_order\EventSubscriber

Code

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