<?php namespace SilverStripe\SpamProtection\Tests\FormSpamProtectionExtensionTest; use SilverStripe\Dev\TestOnly; use SilverStripe\Forms\TextField; use SilverStripe\SpamProtection\SpamProtector; /** * @package spamprotection */ class BazProtector implements SpamProtector, TestOnly { public function getFormField($name = null, $title = null, $value = null) { return new TextField($name, $title, $value); } public function setFieldMapping($fieldMapping) { } }