WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\RemoteInboxNotifications

PublishAfterTimeRuleProcessor::__construct() public WC 1.0

Constructor.

{} It's a method of the class: PublishAfterTimeRuleProcessor{}

No Hooks.

Return

null. Nothing.

Usage

$PublishAfterTimeRuleProcessor = new PublishAfterTimeRuleProcessor();
$PublishAfterTimeRuleProcessor->__construct( $date_time_provider );
$date_time_provider(DateTimeProviderinterface)
The DateTime provider.

Code of PublishAfterTimeRuleProcessor::__construct() WC 5.3.0

<?php
public function __construct( $date_time_provider = null ) {
	$this->date_time_provider = null === $date_time_provider
		? new CurrentDateTimeProvider()
		: $date_time_provider;
}