1 | <?php |
||
14 | class User extends BaseUser implements UserInterface, TaggableInterface |
||
15 | { |
||
16 | /** @var string */ |
||
17 | protected $id; |
||
18 | |||
19 | /** @var string */ |
||
20 | protected $github_id; |
||
21 | |||
22 | /** @var string */ |
||
23 | protected $google_id; |
||
24 | |||
25 | /** @var string */ |
||
26 | protected $github_access_token; |
||
27 | |||
28 | /** @var string */ |
||
29 | protected $google_access_token; |
||
30 | |||
31 | /** @var string */ |
||
32 | protected $profilePicture; |
||
33 | |||
34 | /** @var ArrayCollection */ |
||
35 | protected $tags; |
||
36 | |||
37 | /** @var int */ |
||
38 | protected $nuts; |
||
39 | |||
40 | /** @var \DateTime */ |
||
41 | protected $date_registered; |
||
42 | |||
43 | /** |
||
44 | * {@inheritdoc} |
||
45 | */ |
||
46 | public function getGithubId() |
||
50 | |||
51 | /** |
||
52 | * {@inheritdoc} |
||
53 | */ |
||
54 | public function setGithubId($github_id) |
||
58 | |||
59 | /** |
||
60 | * {@inheritdoc} |
||
61 | */ |
||
62 | public function getGithubAccessToken() |
||
66 | |||
67 | /** |
||
68 | * {@inheritdoc} |
||
69 | */ |
||
70 | public function setGithubAccessToken($github_access_token) |
||
74 | |||
75 | /** |
||
76 | * {@inheritdoc} |
||
77 | */ |
||
78 | public function getGoogleId() |
||
82 | |||
83 | /** |
||
84 | * {@inheritdoc} |
||
85 | */ |
||
86 | public function setGoogleId($google_id) |
||
90 | |||
91 | /** |
||
92 | * {@inheritdoc} |
||
93 | */ |
||
94 | public function getGoogleAccessToken() |
||
98 | |||
99 | /** |
||
100 | * {@inheritdoc} |
||
101 | */ |
||
102 | public function setGoogleAccessToken($google_access_token) |
||
106 | |||
107 | /** |
||
108 | * {@inheritdoc} |
||
109 | */ |
||
110 | public function getProfilePicture() |
||
114 | |||
115 | /** |
||
116 | * {@inheritdoc} |
||
117 | */ |
||
118 | public function setProfilePicture($profilePicture) |
||
122 | |||
123 | /** |
||
124 | * {@inheritdoc} |
||
125 | */ |
||
126 | public function addTag(TagInterface $tag) |
||
132 | |||
133 | /** |
||
134 | * {@inheritdoc} |
||
135 | */ |
||
136 | public function setTags(ArrayCollection $tags) |
||
140 | |||
141 | /** |
||
142 | * {@inheritdoc} |
||
143 | */ |
||
144 | public function getTags() |
||
148 | |||
149 | /** |
||
150 | * {@inheritdoc} |
||
151 | */ |
||
152 | public function getNuts() |
||
156 | |||
157 | /** |
||
158 | * {@inheritdoc} |
||
159 | */ |
||
160 | public function setNuts($nuts) |
||
164 | |||
165 | /** |
||
166 | * {@inheritdoc} |
||
167 | */ |
||
168 | public function addNuts($nuts) |
||
172 | |||
173 | /** |
||
174 | * {@inheritdoc} |
||
175 | */ |
||
176 | public function getDateRegistered() |
||
180 | |||
181 | /** |
||
182 | * {@inheritdoc} |
||
183 | */ |
||
184 | public function setDateRegistered($registeredDate) |
||
188 | } |
||
189 |