silverstripe-framework/tests/php/i18n/i18nTest/MySubObject.php
2020-04-20 18:58:09 +01:00

24 lines
490 B
PHP

<?php
namespace SilverStripe\i18n\Tests\i18nTest;
use SilverStripe\Dev\TestOnly;
use SilverStripe\Security\Group;
class MySubObject extends MyObject implements TestOnly
{
private static $table_name = 'i18nTest_MySubObject';
private static $db = [
'SubProperty' => 'Varchar',
];
private static $has_many = [
'SubRelation' => Group::class
];
private static $singular_name = "My Sub Object";
private static $plural_name = "My Sub Objects";
}