1 | <?php |
||
5 | class Profile extends Form |
||
6 | { |
||
7 | /** |
||
8 | * @var string |
||
9 | */ |
||
10 | protected $lastName; |
||
11 | |||
12 | /** |
||
13 | * @var string |
||
14 | */ |
||
15 | protected $firstName; |
||
16 | |||
17 | /** |
||
18 | * @var string |
||
19 | */ |
||
20 | protected $userName; |
||
21 | |||
22 | /** |
||
23 | * @var string |
||
24 | */ |
||
25 | protected $about; |
||
26 | |||
27 | /** |
||
28 | * @var string |
||
29 | */ |
||
30 | protected $location; |
||
31 | |||
32 | /** |
||
33 | * @var string |
||
34 | */ |
||
35 | protected $websiteUrl; |
||
36 | |||
37 | /** |
||
38 | * @var string |
||
39 | */ |
||
40 | protected $image; |
||
41 | |||
42 | /** |
||
43 | * @var string |
||
44 | */ |
||
45 | protected $country; |
||
46 | |||
47 | /** |
||
48 | * @var bool |
||
49 | */ |
||
50 | protected $excludeFromSearch = false; |
||
51 | |||
52 | /** |
||
53 | * @var string |
||
54 | */ |
||
55 | protected $locale = ''; |
||
56 | |||
57 | /** |
||
58 | * @var string |
||
59 | */ |
||
60 | protected $accountType = 'other'; |
||
61 | |||
62 | /** |
||
63 | * @param mixed $lastName |
||
64 | * @return Profile |
||
65 | */ |
||
66 | public function setLastName($lastName) |
||
71 | |||
72 | /** |
||
73 | * @param mixed $firstName |
||
74 | * @return Profile |
||
75 | */ |
||
76 | public function setFirstName($firstName) |
||
81 | |||
82 | /** |
||
83 | * @param mixed $userName |
||
84 | * @return Profile |
||
85 | */ |
||
86 | public function setUserName($userName) |
||
91 | |||
92 | /** |
||
93 | * @param mixed $about |
||
94 | * @return Profile |
||
95 | */ |
||
96 | public function setAbout($about) |
||
101 | |||
102 | /** |
||
103 | * @param mixed $location |
||
104 | * @return Profile |
||
105 | */ |
||
106 | public function setLocation($location) |
||
111 | |||
112 | /** |
||
113 | * @param mixed $websiteUrl |
||
114 | * @return Profile |
||
115 | */ |
||
116 | public function setWebsiteUrl($websiteUrl) |
||
121 | |||
122 | /** |
||
123 | * @param mixed $image |
||
124 | * @return Profile |
||
125 | */ |
||
126 | public function setImage($image) |
||
131 | |||
132 | /** |
||
133 | * @param string $country |
||
134 | * @return Profile |
||
135 | */ |
||
136 | public function setCountry($country) |
||
141 | |||
142 | /** |
||
143 | * @param bool $excludeFromSearch |
||
144 | * @return $this |
||
145 | */ |
||
146 | public function setExcludeFromSearch($excludeFromSearch) |
||
152 | |||
153 | /** |
||
154 | * @param string $locale |
||
155 | * @return Profile |
||
156 | */ |
||
157 | public function setLocale($locale) |
||
162 | |||
163 | /** |
||
164 | * @param string $accountType |
||
165 | * @return Profile |
||
166 | */ |
||
167 | public function setAccountType($accountType) |
||
172 | |||
173 | /** |
||
174 | * @return array |
||
175 | */ |
||
176 | public function toArray() |
||
191 | } |