Commit | Line | Data |
---|---|---|
747156dd | 1 | <?php |
8e3b2970 TO |
2 | |
3 | namespace Civi\WorkflowMessage\GenericWorkflowMessage; | |
4 | ||
5 | class Alex extends \Civi\WorkflowMessage\WorkflowMessageExample { | |
6 | ||
7 | /** | |
8 | * @inheritDoc | |
9 | */ | |
10 | public function getExamples(): iterable { | |
11 | yield [ | |
12 | 'name' => "workflow/{$this->wfName}/{$this->exName}", | |
13 | 'tags' => [], | |
14 | ]; | |
15 | } | |
16 | ||
17 | /** | |
18 | * @inheritDoc | |
19 | */ | |
20 | public function build(array &$example): void { | |
21 | $example['data'] = [ | |
747156dd | 22 | 'modelProps' => [ |
4371d572 | 23 | 'contact' => \Civi\Test::example('entity/Contact/Alex'), |
747156dd TO |
24 | ], |
25 | ]; | |
8e3b2970 TO |
26 | } |
27 | ||
28 | } |