Automattic\WooCommerce\Internal\Admin\Schedulers

MailchimpScheduler::__construct()publicWC 1.0

MailchimpScheduler constructor.

Method of the class: MailchimpScheduler{}

No Hooks.

Return

null. Nothing.

Usage

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

MailchimpScheduler::__construct() code WC 7.3.0

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