Automattic\WooCommerce\Internal\Admin\Schedulers
MailchimpScheduler::__construct()
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() 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; }