WorkflowMessage - Switch to `ClassScanner` (was: bespoke `include_path` search)
[civicrm-core.git] / Civi / Test / ExampleData / Contact / Alex.ex.php
1 <?php
2
3 namespace Civi\Test\ExampleData\Contact;
4
5 class Alex extends \Civi\Test\EntityExample {
6
7 public function getExamples(): iterable {
8 yield [
9 'name' => "entity/{$this->entityName}/{$this->exName}",
10 ];
11 }
12
13 public function build(array &$example): void {
14 $example['data'] = [
15 'contact_id' => '100',
16 'contact_type' => 'Individual',
17 'contact_sub_type' => NULL,
18 'sort_name' => 'D\u00edaz, Alex',
19 'display_name' => 'Dr. Alex D\u00edaz',
20 'do_not_email' => '1',
21 'do_not_phone' => '1',
22 'do_not_mail' => '0',
23 'do_not_sms' => '0',
24 'do_not_trade' => '0',
25 'is_opt_out' => '0',
26 'legal_identifier' => NULL,
27 'external_identifier' => NULL,
28 'nick_name' => NULL,
29 'legal_name' => NULL,
30 'image_URL' => NULL,
31 'preferred_communication_method' => NULL,
32 'preferred_language' => NULL,
33 'preferred_mail_format' => 'Both',
34 'first_name' => 'Alex',
35 'middle_name' => '',
36 'last_name' => 'D\u00edaz',
37 'prefix_id' => '4',
38 'suffix_id' => NULL,
39 'formal_title' => NULL,
40 'communication_style_id' => NULL,
41 'job_title' => NULL,
42 'gender_id' => '1',
43 'birth_date' => '1994-04-21',
44 'is_deceased' => '0',
45 'deceased_date' => NULL,
46 'household_name' => NULL,
47 'organization_name' => NULL,
48 'sic_code' => NULL,
49 'contact_is_deleted' => '0',
50 'current_employer' => NULL,
51 'address_id' => NULL,
52 'street_address' => NULL,
53 'supplemental_address_1' => NULL,
54 'supplemental_address_2' => NULL,
55 'supplemental_address_3' => NULL,
56 'city' => NULL,
57 'postal_code_suffix' => NULL,
58 'postal_code' => NULL,
59 'geo_code_1' => NULL,
60 'geo_code_2' => NULL,
61 'state_province_id' => NULL,
62 'country_id' => NULL,
63 'phone_id' => '7',
64 'phone_type_id' => '1',
65 'phone' => '293-6934',
66 'email_id' => '7',
67 'email' => 'daz.alex67@testing.net',
68 'on_hold' => '0',
69 'im_id' => NULL,
70 'provider_id' => NULL,
71 'im' => NULL,
72 'worldregion_id' => NULL,
73 'world_region' => NULL,
74 'languages' => NULL,
75 'individual_prefix' => 'Dr.',
76 'individual_suffix' => NULL,
77 'communication_style' => NULL,
78 'gender' => 'Female',
79 'state_province_name' => NULL,
80 'state_province' => NULL,
81 'country' => NULL,
82 ];
83 }
84
85 }