1 | <?php |
||
11 | class ExampleUser extends User implements RecipientInterface { |
||
12 | |||
13 | /** |
||
14 | * @var integer |
||
15 | */ |
||
16 | protected $id; |
||
17 | |||
18 | /** |
||
19 | * Set some defaults |
||
20 | */ |
||
21 | public function __construct() |
||
27 | |||
28 | /** |
||
29 | * @return string representation of this user |
||
30 | */ |
||
31 | public function getDisplayName() |
||
46 | |||
47 | |||
48 | |||
49 | /////////////////////////////////////////////////////////////////// |
||
50 | // generated stuff only below this line. |
||
51 | // @codeCoverageIgnoreStart |
||
52 | /////////////////////////////////////////////////////////////////// |
||
53 | |||
54 | /** |
||
55 | * @var string |
||
56 | */ |
||
57 | private $first_name; |
||
58 | |||
59 | /** |
||
60 | * @var string |
||
61 | */ |
||
62 | private $last_name; |
||
63 | |||
64 | /** |
||
65 | * @var string |
||
66 | */ |
||
67 | private $salutation; |
||
68 | |||
69 | /** |
||
70 | * @var string |
||
71 | */ |
||
72 | private $preferredLocale; |
||
73 | |||
74 | /** |
||
75 | * @var integer |
||
76 | */ |
||
77 | private $notification_mode; |
||
78 | |||
79 | /** |
||
80 | * @var boolean |
||
81 | */ |
||
82 | private $newsletter; |
||
83 | |||
84 | /** |
||
85 | * Set first_name |
||
86 | * |
||
87 | * @param string $firstName |
||
88 | * @return ExampleUser |
||
89 | */ |
||
90 | public function setFirstName($firstName) |
||
96 | |||
97 | /** |
||
98 | * Get first_name |
||
99 | * |
||
100 | * @return string |
||
101 | */ |
||
102 | public function getFirstName() |
||
106 | |||
107 | /** |
||
108 | * Set last_name |
||
109 | * |
||
110 | * @param string $lastName |
||
111 | * @return ExampleUser |
||
112 | */ |
||
113 | public function setLastName($lastName) |
||
119 | |||
120 | /** |
||
121 | * Get last_name |
||
122 | * |
||
123 | * @return string |
||
124 | */ |
||
125 | public function getLastName() |
||
129 | |||
130 | /** |
||
131 | * Set salutation |
||
132 | * |
||
133 | * @param string $salutation |
||
134 | * @return ExampleUser |
||
135 | */ |
||
136 | public function setSalutation($salutation) |
||
142 | |||
143 | /** |
||
144 | * Get salutation |
||
145 | * |
||
146 | * @return string |
||
147 | */ |
||
148 | public function getSalutation() |
||
152 | |||
153 | /** |
||
154 | * Set preferredLocale |
||
155 | * |
||
156 | * @param string $preferredLocale |
||
157 | * @return ExampleUser |
||
158 | */ |
||
159 | public function setPreferredLocale($preferredLocale) |
||
165 | |||
166 | /** |
||
167 | * Get preferredLocale |
||
168 | * |
||
169 | * @return string |
||
170 | */ |
||
171 | public function getPreferredLocale() |
||
175 | |||
176 | /** |
||
177 | * Set notification_mode |
||
178 | * |
||
179 | * @param integer $notificationMode |
||
180 | * @return ExampleUser |
||
181 | */ |
||
182 | public function setNotificationMode($notificationMode) |
||
188 | |||
189 | /** |
||
190 | * Get notification_mode |
||
191 | * |
||
192 | * @return integer |
||
193 | */ |
||
194 | public function getNotificationMode() |
||
198 | |||
199 | /** |
||
200 | * Set newsletter |
||
201 | * |
||
202 | * @param boolean $newsletter |
||
203 | * @return ExampleUser |
||
204 | */ |
||
205 | public function setNewsletter($newsletter) |
||
211 | |||
212 | /** |
||
213 | * Get newsletter |
||
214 | * |
||
215 | * @return boolean |
||
216 | */ |
||
217 | public function getNewsletter() |
||
221 | } |
||
222 |