1
0
mirror of https://github.com/silverstripe/silverstripe-framework synced 2024-10-22 12:05:37 +00:00
2024-08-28 17:00:39 +12:00

25 lines
568 B
PHP

<?php
namespace SilverStripe\ORM\Tests\ManyManyListTest;
use SilverStripe\Dev\TestOnly;
use SilverStripe\Core\Extension;
use SilverStripe\ORM\ManyManyList;
/**
* An extension that is applied to ManyManyListTest_Secondary that
* implements the other side of the many-many relationship.
*
* @method ManyManyList Primary()
*/
class IndirectSecondaryExtension extends Extension implements TestOnly
{
private static $db = [
'Title' => 'Varchar(255)'
];
private static $belongs_many_many = [
'Primary' => IndirectPrimary::class
];
}