WordPress at a glance
class is not described

Automattic\WooCommerce\Admin\RemoteInboxNotifications

RuleProcessorInterface{} WC 1.0

Rule processor interface

No Hooks.

Return

null. Nothing.

Usage

$RuleProcessorInterface = new RuleProcessorInterface();
// use class methods

Methods

  1. process( $rule, $stored_state )
  2. validate( $rule )

Code of RuleProcessorInterface{} WC 5.2.2

<?php
interface RuleProcessorInterface {
	/**
	 * Processes a rule, returning the boolean result of the processing.
	 *
	 * @param object $rule         The rule to process.
	 * @param object $stored_state Stored state.
	 *
	 * @return bool The result of the processing.
	 */
	public function process( $rule, $stored_state );

	/**
	 * Validates the rule.
	 *
	 * @param object $rule The rule to validate.
	 *
	 * @return bool Pass/fail.
	 */
	public function validate( $rule );
}