silverstripe-spamprotection/tests/Stub/FormSpamProtectionExtensionTest_BazProtector.php

17 lines
338 B
PHP

<?php
/**
* @package spamprotection
*/
class FormSpamProtectionExtensionTest_BazProtector implements SpamProtector, TestOnly
{
public function getFormField($name = null, $title = null, $value = null)
{
return new TextField($name, $title, $value);
}
public function setFieldMapping($fieldMapping)
{
}
}