2016-12-16 05:34:21 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace SilverStripe\Forms\Tests\FormFactoryTest;
|
|
|
|
|
2017-02-21 21:09:20 +01:00
|
|
|
use SilverStripe\Dev\TestOnly;
|
2016-12-16 05:34:21 +01:00
|
|
|
use SilverStripe\ORM\DataObject;
|
2017-03-21 04:22:23 +01:00
|
|
|
use SilverStripe\Versioned\Versioned;
|
2016-12-16 05:34:21 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* @mixin Versioned
|
|
|
|
*/
|
2017-02-21 21:09:20 +01:00
|
|
|
class TestObject extends DataObject implements TestOnly
|
2016-12-16 05:34:21 +01:00
|
|
|
{
|
|
|
|
private static $table_name = 'FormFactoryTest_TestObject';
|
|
|
|
|
|
|
|
private static $db = [
|
|
|
|
'Title' => 'Varchar',
|
|
|
|
];
|
|
|
|
|
|
|
|
private static $extensions = [
|
|
|
|
Versioned::class,
|
|
|
|
];
|
|
|
|
}
|