RuleProcessorInterface
in
Rule processor interface
Table of Contents
- process() : bool
- Processes a rule, returning the boolean result of the processing.
- validate() : bool
- Validates the rule.
Methods
process()
Processes a rule, returning the boolean result of the processing.
public
process(object $rule, object $stored_state) : bool
Parameters
- $rule : object
-
The rule to process.
- $stored_state : object
-
Stored state.
Return values
bool — The result of the processing.validate()
Validates the rule.
public
validate(object $rule) : bool
Parameters
- $rule : object
-
The rule to validate.