Page MenuHomeMTRNord's Forge
Diviner Tech Docs HeraldRuleSerializer

final class HeraldRuleSerializer
Phorge Technical Documentation (Herald)

Serialize for RuleTransactions / Editor.

Methods

public function serializeRule($rule)

This method is not documented.
Parameters
\HeraldRule$rule
Return
wild

public function serializeRuleComponents($match_all, $conditions, $actions, $repetition_policy)

<<<<<<< HEAD

Parameters
$match_all$match_all
array<HeraldCondition>$conditions$conditions
array<HeraldActionRecord>$actions$actions
string$repetition_policyOne of the HeraldRule::REPEAT_ constants
Return
array

public function deserializeRuleComponents($serialized)

This method is not documented.
Parameters
array$serialized
Return
wild