WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\RemoteInboxNotifications

PublishBeforeTimeRuleProcessor::__construct() public WC 1.0

Constructor.

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of PublishBeforeTimeRuleProcessor::__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;
}