Automattic\WooCommerce\Admin\RemoteInboxNotifications

WCAdminActiveForRuleProcessor::__construct()publicWC 1.0

Constructor

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

No Hooks.

Return

null. Nothing.

Usage

$WCAdminActiveForRuleProcessor = new WCAdminActiveForRuleProcessor();
$WCAdminActiveForRuleProcessor->__construct( $wcadmin_active_for_provider );
$wcadmin_active_for_provider(object)
Provides the amount of time wcadmin has been active for.
Default: null

Code of WCAdminActiveForRuleProcessor::__construct() WC 7.1.0

public function __construct( $wcadmin_active_for_provider = null ) {
	$this->wcadmin_active_for_provider = null === $wcadmin_active_for_provider
		? new WCAdminActiveForProvider()
		: $wcadmin_active_for_provider;
}