Class TreeRule
- Aws\EndpointV2\Rule\AbstractRule
-
Aws\EndpointV2\Rule\TreeRule
- Namespace: Aws\EndpointV2\Rule
- Located at EndpointV2/Rule/TreeRule.php
A rule within a rule set. All rules contain a conditions property, which can be empty, and documentation about the rule.
Methods Summary
- __construct ( array $definition )
- getRules ( )
-
evaluate ( array $inputParameters, Aws\EndpointV2\Ruleset\RulesetStandardLibrary $standardLibrary )
If a tree rule's conditions evaluate successfully, iterate over its subordinate rules and return a result if there is one. If any of the subsequent rules are trees, the function will recurse until it reaches an error or an endpoint rule
Methods inherited from Aws\EndpointV2\Rule\AbstractRule
Methods Details
__construct ( array $definition )
array getRules ( )
Returns
array |
mixed evaluate ( array $inputParameters, Aws\EndpointV2\Ruleset\RulesetStandardLibrary $standardLibrary )
If a tree rule's conditions evaluate successfully, iterate over its subordinate rules and return a result if there is one. If any of the subsequent rules are trees, the function will recurse until it reaches an error or an endpoint rule
Returns
mixed |