silverstripe-framework/tests/php/ORM/DBClassNameTest/CustomDefault.php

18 lines
387 B
PHP
Raw Normal View History

2016-10-14 03:30:05 +02:00
<?php
namespace SilverStripe\ORM\Tests\DBClassNameTest;
use SilverStripe\Dev\TestOnly;
use SilverStripe\ORM\DataObject;
class CustomDefault extends DataObject implements TestOnly
{
private static $table_name = 'DBClassNameTest_CustomDefault';
2016-11-13 08:35:43 +01:00
private static $default_classname = CustomDefaultSubclass::class;
2016-10-14 03:30:05 +02:00
private static $db = [
'Title' => 'Varchar'
];
2016-10-14 03:30:05 +02:00
}