silverstripe-framework/tests/php/ORM/DBClassNameTest/CustomDefault.php
2016-11-23 19:25:12 +13:00

18 lines
374 B
PHP

<?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';
private static $default_classname = CustomDefaultSubclass::class;
private static $db = array(
'Title' => 'Varchar'
);
}