mirror of
https://github.com/symbiote/silverstripe-gridfieldextensions.git
synced 2024-10-22 17:05:39 +02:00
34 lines
611 B
PHP
34 lines
611 B
PHP
|
<?php
|
||
|
|
||
|
namespace Symbiote\GridFieldExtensions\Tests\Stub;
|
||
|
|
||
|
use SilverStripe\Dev\TestOnly;
|
||
|
use SilverStripe\ORM\DataObject;
|
||
|
use SilverStripe\Versioned\Versioned;
|
||
|
|
||
|
/**
|
||
|
* Class StubOrderedVersioned
|
||
|
* @package Symbiote\GridFieldExtensions\Tests\Stub
|
||
|
*/
|
||
|
class StubOrderedVersioned extends DataObject implements TestOnly
|
||
|
{
|
||
|
/**
|
||
|
* @var string
|
||
|
*/
|
||
|
private static $table_name = 'StubOrderedVersioned';
|
||
|
|
||
|
/**
|
||
|
* @var array
|
||
|
*/
|
||
|
private static $extensions = [
|
||
|
Versioned::class,
|
||
|
];
|
||
|
|
||
|
/**
|
||
|
* @var array
|
||
|
*/
|
||
|
private static $db = [
|
||
|
'Sort' => 'Int',
|
||
|
];
|
||
|
}
|