mirror of
https://github.com/silverstripe/silverstripe-multiform
synced 2024-10-22 11:05:49 +02:00
1331a60fd7
* removed @package references * included stubs in the test namespaces * updated various return types * updated composr psr4 autoload classes * doc update
19 lines
476 B
PHP
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);
|
|
}
|
|
}
|