silverstripe-framework/tests/php/ORM/RelatedDataServiceTest/HubExtension.php

19 lines
400 B
PHP
Raw Normal View History

2020-10-28 21:29:26 +01:00
<?php
namespace SilverStripe\ORM\Tests\RelatedDataServiceTest;
use SilverStripe\Dev\TestOnly;
2024-08-23 09:09:43 +02:00
use SilverStripe\Core\Extension;
2020-10-28 21:29:26 +01:00
2024-08-23 09:09:43 +02:00
class HubExtension extends Extension implements TestOnly
2020-10-28 21:29:26 +01:00
{
private static $has_one = [
'ExtHO' => Node::class
];
private static $many_many = [
// does not have belong_many_many on the other end
'ExtMMtoNoBMM' => Node::class
];
}