diff options
Diffstat (limited to 'vendor/gregwar/captcha/PhraseBuilderInterface.php')
-rw-r--r-- | vendor/gregwar/captcha/PhraseBuilderInterface.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/vendor/gregwar/captcha/PhraseBuilderInterface.php b/vendor/gregwar/captcha/PhraseBuilderInterface.php new file mode 100644 index 00000000..0a4f5361 --- /dev/null +++ b/vendor/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($length, $charset); + + /** + * "Niceize" a code + */ + public function niceize($str); +} |