PassRuleProcessor
in package
implements
RuleProcessorInterface
Rule processor that passes.
Interfaces, Classes and Traits
- RuleProcessorInterface
- Rule processor interface
Table of Contents
- process() : bool
- Passes the rule.
- validate() : bool
- Validates the rule.
Methods
process()
Passes the rule.
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 — Always true.validate()
Validates the rule.
public
validate(object $rule) : bool
Parameters
- $rule : object
-
The rule to validate.