mirror of
https://github.com/silverstripe/silverstripe-spamprotection.git
synced 2024-10-22 14:05:59 +02:00
17 lines
337 B
PHP
17 lines
337 B
PHP
<?php
|
|
|
|
/**
|
|
* @package spamprotection
|
|
*/
|
|
class FormSpamProtectionExtensionTest_FooProtector implements SpamProtector, TestOnly
|
|
{
|
|
public function getFormField($name = null, $title = null, $value = null)
|
|
{
|
|
return new TextField($name, 'Foo', $value);
|
|
}
|
|
|
|
public function setFieldMapping($fieldMapping)
|
|
{
|
|
}
|
|
}
|