1 | <?php |
||
4 | class SpamCheck |
||
5 | { |
||
6 | /** |
||
7 | * @var bool |
||
8 | */ |
||
9 | public $enable; |
||
10 | |||
11 | /** |
||
12 | * @var int |
||
13 | */ |
||
14 | public $threshold; |
||
15 | |||
16 | /** |
||
17 | * @var string |
||
18 | */ |
||
19 | public $post_to_url; |
||
20 | |||
21 | /** |
||
22 | * @param boolean $enable |
||
23 | * @return SpamCheck |
||
24 | */ |
||
25 | public function setEnable($enable) |
||
30 | |||
31 | /** |
||
32 | * @param int $threshold |
||
33 | * @return SpamCheck |
||
34 | */ |
||
35 | public function setThreshold($threshold) |
||
40 | |||
41 | /** |
||
42 | * @param string $post_to_url |
||
43 | * @return SpamCheck |
||
44 | */ |
||
45 | public function setPostToUrl($post_to_url) |
||
50 | |||
51 | |||
52 | } |
||
53 |