mirror of
https://github.com/silverstripe/silverstripe-multiform
synced 2024-10-22 11:05:49 +02:00
23 lines
521 B
PHP
23 lines
521 B
PHP
<?php
|
|
|
|
namespace SilverStripe\MultiForm\Tests;
|
|
|
|
use SilverStripe\Control\Controller;
|
|
use SilverStripe\Core\Injector\Injector;
|
|
use SilverStripe\Dev\TestOnly;
|
|
|
|
/**
|
|
* @package multiform
|
|
* @subpackage tests
|
|
*/
|
|
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);
|
|
}
|
|
}
|