silverstripe-framework/tests/php/ORM/VersionableExtensionsTest/TestObject.php
2016-12-19 16:08:19 +13:00

26 lines
591 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']
];
}