silverstripe-multiform/tests/Stubs/MultiFormTestStepThree.php
Franco Springveldt 1331a60fd7 FIX PR review fixes
* removed @package references
* included stubs in the test namespaces
* updated various return types
* updated composr psr4 autoload classes
* doc update
2017-09-08 17:12:17 +12:00

21 lines
485 B
PHP

<?php
namespace SilverStripe\MultiForm\Tests\Stubs;
use SilverStripe\Dev\TestOnly;
use SilverStripe\Forms\FieldList;
use SilverStripe\Forms\TextField;
use SilverStripe\MultiForm\Models\MultiFormStep;
class MultiFormTestStepThree extends MultiFormStep implements TestOnly
{
private static $is_final_step = true;
public function getFields()
{
return FieldList::create(
new TextField('Test', 'Anything else you\'d like to tell us?')
);
}
}