diff options
Diffstat (limited to 'vendor/gregwar/captcha/src/Gregwar/Captcha/PhraseBuilderInterface.php')
-rw-r--r-- | vendor/gregwar/captcha/src/Gregwar/Captcha/PhraseBuilderInterface.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/vendor/gregwar/captcha/src/Gregwar/Captcha/PhraseBuilderInterface.php b/vendor/gregwar/captcha/src/Gregwar/Captcha/PhraseBuilderInterface.php new file mode 100644 index 00000000..62ec4b08 --- /dev/null +++ b/vendor/gregwar/captcha/src/Gregwar/Captcha/PhraseBuilderInterface.php @@ -0,0 +1,21 @@ +<?php + +namespace Gregwar\Captcha; + +/** + * Interface for the PhraseBuilder + * + * @author Gregwar <g.passault@gmail.com> + */ +interface PhraseBuilderInterface +{ + /** + * Generates random phrase of given length with given charset + */ + public function build(); + + /** + * "Niceize" a code + */ + public function niceize($str); +} |