silverstripe-framework/tests/php/Security/MemberTest/AlwaysFailExtension.php
2024-08-28 17:00:39 +12:00

18 lines
334 B
PHP

<?php
namespace SilverStripe\Security\Tests\MemberTest;
use SilverStripe\Dev\TestOnly;
use SilverStripe\Core\Extension;
/**
* Extension that adds additional validation criteria
*/
class AlwaysFailExtension extends Extension implements TestOnly
{
protected function updatePHP($data, $form)
{
return false;
}
}