]> scripts.mit.edu Git - autoinstallsdev/mediawiki.git/blobdiff - extensions/ConfirmEdit/includes/CaptchaValue.php
MediaWiki 1.30.2
[autoinstallsdev/mediawiki.git] / extensions / ConfirmEdit / includes / CaptchaValue.php
diff --git a/extensions/ConfirmEdit/includes/CaptchaValue.php b/extensions/ConfirmEdit/includes/CaptchaValue.php
new file mode 100644 (file)
index 0000000..8730200
--- /dev/null
@@ -0,0 +1,24 @@
+<?php
+
+/**
+ * Simple value object for storing a captcha question + answer.
+ */
+class CaptchaValue {
+       /**
+        * ID that is used to store the captcha in cache.
+        * @var string
+        */
+       protected $id;
+
+       /**
+        * Answer to the captcha.
+        * @var string
+        */
+       protected $solution;
+
+       /**
+        * @var mixed
+        */
+       protected $data;
+
+}