silverstripe-multiform/tests/Stubs/MultiFormTestController.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

19 lines
476 B
PHP

<?php
namespace SilverStripe\MultiForm\Tests\Stubs;
use SilverStripe\Control\Controller;
use SilverStripe\Core\Injector\Injector;
use SilverStripe\Dev\TestOnly;
class MultiFormTestController extends Controller implements TestOnly
{
private static $url_segment = 'MultiFormTestController';
public function Form()
{
return Injector::inst()->get(MultiFormTestForm::class, false, [$this, 'Form'])
->setHTMLID(MultiFormTestForm::class);
}
}