| @@ 179-187 (lines=9) @@ | ||
| 176 | /** |
|
| 177 | * @param string $status |
|
| 178 | */ |
|
| 179 | public function setStatus($status) |
|
| 180 | { |
|
| 181 | Assert\that($status)->choice( |
|
| 182 | [self::STATUS_UNVERIFIED, self::STATUS_VERIFIED, self::STATUS_VETTED, self::STATUS_REVOKED, ''], |
|
| 183 | 'Invalid second factor status, must be one of the STATUS constants' |
|
| 184 | ); |
|
| 185 | ||
| 186 | $this->status = $status ?: null; |
|
| 187 | } |
|
| 188 | ||
| 189 | /** |
|
| 190 | * @return null|string |
|
| @@ 198-206 (lines=9) @@ | ||
| 195 | /** |
|
| 196 | * @param string $status |
|
| 197 | */ |
|
| 198 | public function setStatus($status) |
|
| 199 | { |
|
| 200 | Assert\that($status)->choice( |
|
| 201 | [self::STATUS_UNVERIFIED, self::STATUS_VERIFIED, self::STATUS_VETTED, self::STATUS_REVOKED, ''], |
|
| 202 | 'Invalid second factor status, must be one of the STATUS constants' |
|
| 203 | ); |
|
| 204 | ||
| 205 | $this->status = $status ?: null; |
|
| 206 | } |
|
| 207 | ||
| 208 | /** |
|
| 209 | * @param string $orderBy |
|