Source of file PolymorphM2MParent.php
Size: 0,446 Bytes - Last Modified: 2022-02-21T10:00:54+00:00
/var/www/docs.ssmods.com/process/src/tests/Stub/PolymorphM2MParent.php
1234567891011121314151617181920 | <?php namespace Symbiote\GridFieldExtensions\Tests\Stub; use SilverStripe\Dev\TestOnly; use SilverStripe\ORM\DataObject; class PolymorphM2MParent extends DataObject implements TestOnly { private static $table_name = 'TableOnly_PolymorphM2MParent'; private static $many_many = [ 'Children' => [ 'through' => PolymorphM2MMapper::class, 'from' => 'Parent', 'to' => 'Child', ] ]; } |