WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Admin\Schedulers

MailchimpScheduler::__construct() public WC 1.0

MailchimpScheduler constructor.

{} It's a 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

Code of MailchimpScheduler::__construct() WC 6.1.1

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