BaseLocationStateRuleProcessor
in package
implements
RuleProcessorInterface
Rule processor that performs a comparison operation against the base location - state.
Interfaces, Classes and Traits
- RuleProcessorInterface
- Rule processor interface
Table of Contents
- process() : bool
- Performs a comparison operation against the base location - state.
- validate() : bool
- Validates the rule.
Methods
process()
Performs a comparison operation against the base location - state.
public
process(object $rule, object $stored_state) : bool
Parameters
- $rule : object
-
The specific rule being processed by this rule processor.
- $stored_state : object
-
Stored state.
Return values
bool — The result of the operation.validate()
Validates the rule.
public
validate(object $rule) : bool
Parameters
- $rule : object
-
The rule to validate.