silverstripe-framework/tests/php/ORM/DataObjectLazyLoadingTest/VersionedObject.php

24 lines
465 B
PHP
Raw Normal View History

2016-10-14 03:30:05 +02:00
<?php
namespace SilverStripe\ORM\Tests\DataObjectLazyLoadingTest;
use SilverStripe\Dev\TestOnly;
use SilverStripe\ORM\DataObject;
use SilverStripe\ORM\Versioning\Versioned;
/**
* @mixin Versioned
*/
class VersionedObject extends DataObject implements TestOnly
{
private static $table_name = 'VersionedLazy_DataObject';
2016-10-14 03:30:05 +02:00
private static $db = [
"PageName" => "Varchar"
];
2016-10-14 03:30:05 +02:00
private static $extensions = [
Versioned::class
];
2016-10-14 03:30:05 +02:00
}