| Total Complexity | 2 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class ReCaptchaProtector implements SpamProtector |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Return the Field that we will use in this protector |
||
| 11 | * @param string $name |
||
| 12 | * @param string $title |
||
| 13 | * @param mixed $value |
||
| 14 | * @return ReCaptchaField |
||
| 15 | */ |
||
| 16 | public function getFormField($name = 'ReCaptchaField', $title = 'ReCaptcha', $value = null) |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Not used by ReCaptcha |
||
| 23 | */ |
||
| 24 | public function setFieldMapping($fieldMapping) |
||
| 29 |