silverstripe-framework/tests/php/ORM/VersionableExtensionsTest/TestObject.php

26 lines
546 B
PHP
Raw Normal View History

2016-10-14 03:30:05 +02:00
<?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']
];
}