summaryrefslogtreecommitdiff
path: root/vendor/gregwar/captcha/CaptchaBuilderInterface.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/gregwar/captcha/CaptchaBuilderInterface.php')
-rw-r--r--vendor/gregwar/captcha/CaptchaBuilderInterface.php30
1 files changed, 30 insertions, 0 deletions
diff --git a/vendor/gregwar/captcha/CaptchaBuilderInterface.php b/vendor/gregwar/captcha/CaptchaBuilderInterface.php
new file mode 100644
index 00000000..bdebf38f
--- /dev/null
+++ b/vendor/gregwar/captcha/CaptchaBuilderInterface.php
@@ -0,0 +1,30 @@
+<?php
+
+namespace Gregwar\Captcha;
+
+/**
+ * A Captcha builder
+ */
+interface CaptchaBuilderInterface
+{
+ /**
+ * Builds the code
+ */
+ public function build($width, $height, $font, $fingerprint);
+
+ /**
+ * Saves the code to a file
+ */
+ public function save($filename, $quality);
+
+ /**
+ * Gets the image contents
+ */
+ public function get($quality);
+
+ /**
+ * Outputs the image
+ */
+ public function output($quality);
+}
+