silverstripe-cms/tests/php/Model/SiteTreeTest_ClassB.php
2022-08-25 10:17:41 +12:00

17 lines
356 B
PHP

<?php
namespace SilverStripe\CMS\Tests\Model;
use SilverStripe\Dev\TestOnly;
use SilverStripe\CMS\Model\SiteTree;
class SiteTreeTest_ClassB extends SiteTree implements TestOnly
{
private static $table_name = 'SiteTreeTest_ClassB';
// Also allowed subclasses
private static $allowed_children = [
SiteTreeTest_ClassC::class,
];
}