silverstripe-framework/tests/php/ORM/RelatedDataServiceTest/HubExtension.php
2024-08-28 17:00:39 +12:00

19 lines
400 B
PHP

<?php
namespace SilverStripe\ORM\Tests\RelatedDataServiceTest;
use SilverStripe\Dev\TestOnly;
use SilverStripe\Core\Extension;
class HubExtension extends Extension implements TestOnly
{
private static $has_one = [
'ExtHO' => Node::class
];
private static $many_many = [
// does not have belong_many_many on the other end
'ExtMMtoNoBMM' => Node::class
];
}