Merge pull request #21612 from civicrm/5.42
[civicrm-core.git] / Civi / WorkflowMessage / GenericWorkflowMessage / Alex.ex.php
1 <?php
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'] = [
22 'modelProps' => [
23 'contact' => \Civi\Test::example('entity/Contact/Alex'),
24 ],
25 ];
26 }
27
28 }