summaryrefslogtreecommitdiff
path: root/vendor/gregwar/captcha/src/Gregwar/Captcha/PhraseBuilderInterface.php
blob: 62ec4b084431c64167a7225b3fdc6a0c50ed4b37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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);
}