silverstripe-spamprotection/tests/Stub/FormSpamProtectionExtensionTest_FooProtector.php

17 lines
337 B
PHP
Raw Normal View History

<?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)
{
}
}