silverstripe-framework/tests/php/ORM/VersionableExtensionsTest/TestObject.php
2016-11-23 19:25:12 +13:00

26 lines
546 B
PHP

<?php
namespace SilverStripe\ORM\Tests\VersionableExtensionsTest;
use SilverStripe\Dev\TestOnly;
use SilverStripe\ORM\DataObject;
use SilverStripe\ORM\Versioning\Versioned;
class TestObject extends DataObject implements TestOnly
{
private static $table_name = 'VersionableExtensionsTest_DataObject';
private static $db = array(
'Title' => 'Varchar'
);
private static $extensions = [
Versioned::class,
TestExtension::class,
];
private static $versionableExtensions = [
TestExtension::class => ['test1', 'test2', 'test3']
];
}