Automattic\WooCommerce\Internal\Admin\Schedulers

MailchimpScheduler::__construct()publicWC 1.0

MailchimpScheduler constructor.

Method of the class: MailchimpScheduler{}

No Hooks.

Return

null. Nothing (null).

Usage

$MailchimpScheduler = new MailchimpScheduler();
$MailchimpScheduler->__construct( $logger );
$logger(\WC_Logger_Interface|null)
Logger instance.
Default: null

MailchimpScheduler::__construct() code WC 9.3.3

public function __construct( \WC_Logger_Interface $logger = null ) {
	if ( null === $logger ) {
		$logger = wc_get_logger();
	}
	$this->logger = $logger;
}