Automattic\WooCommerce\Admin\RemoteSpecs\RuleProcessors

PluginsActivatedRuleProcessor::__construct()publicWC 1.0

Constructor.

Method of the class: PluginsActivatedRuleProcessor{}

No Hooks.

Return

null. Nothing (null).

Usage

$PluginsActivatedRuleProcessor = new PluginsActivatedRuleProcessor();
$PluginsActivatedRuleProcessor->__construct( $plugins_provider );
$plugins_provider(PluginsProviderInterface)
The plugins provider.
Default: null

PluginsActivatedRuleProcessor::__construct() code WC 9.0.1

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