| 1 | <?php |
| 2 | |
| 3 | namespace MediaWiki\Extension\ConfirmEdit; |
| 4 | |
| 5 | /** |
| 6 | * Simple value object for storing a captcha question + answer. |
| 7 | */ |
| 8 | class CaptchaValue { |
| 9 | /** |
| 10 | * ID that is used to store the captcha in cache. |
| 11 | * @var string |
| 12 | */ |
| 13 | protected $id; |
| 14 | |
| 15 | /** |
| 16 | * Answer to the captcha. |
| 17 | * @var string |
| 18 | */ |
| 19 | protected $solution; |
| 20 | |
| 21 | /** |
| 22 | * @var mixed |
| 23 | */ |
| 24 | protected $data; |
| 25 | |
| 26 | } |