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
Namespace
Drupal\commerce_order\EventSubscriberCode
public function __construct(TimeInterface $time) {
$this->time = $time;
}