silverstripe-framework/tests/php/ORM/ManyManyListTest/IndirectSecondaryExtension.php
2016-12-19 16:08:19 +13:00

22 lines
513 B
PHP

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