| @@ 2249-2262 (lines=14) @@ | ||
| 2246 | * |
|
| 2247 | * @return string |
|
| 2248 | */ |
|
| 2249 | public function serialize() |
|
| 2250 | { |
|
| 2251 | return serialize(array( |
|
| 2252 | $this->password, |
|
| 2253 | $this->salt, |
|
| 2254 | $this->usernameCanonical, |
|
| 2255 | $this->username, |
|
| 2256 | $this->expired, |
|
| 2257 | $this->locked, |
|
| 2258 | $this->credentialsExpired, |
|
| 2259 | $this->enabled, |
|
| 2260 | $this->id, |
|
| 2261 | )); |
|
| 2262 | } |
|
| 2263 | ||
| 2264 | /** |
|
| 2265 | * Unserializes the user. |
|
| @@ 2232-2245 (lines=14) @@ | ||
| 2229 | * |
|
| 2230 | * @return string |
|
| 2231 | */ |
|
| 2232 | public function serialize() |
|
| 2233 | { |
|
| 2234 | return serialize(array( |
|
| 2235 | $this->password, |
|
| 2236 | $this->salt, |
|
| 2237 | $this->usernameCanonical, |
|
| 2238 | $this->username, |
|
| 2239 | $this->expired, |
|
| 2240 | $this->locked, |
|
| 2241 | $this->credentialsExpired, |
|
| 2242 | $this->enabled, |
|
| 2243 | $this->id, |
|
| 2244 | )); |
|
| 2245 | } |
|
| 2246 | ||
| 2247 | /** |
|
| 2248 | * Unserializes the user. |
|