Source of file ThroughDefiner.php
Size: 0,496 Bytes - Last Modified: 2022-02-21T10:00:54+00:00
/var/www/docs.ssmods.com/process/src/tests/Stub/ThroughDefiner.php
123456789101112131415161718192021222324 | <?php namespace Symbiote\GridFieldExtensions\Tests\Stub; use SilverStripe\ORM\DataObject; use SilverStripe\Dev\TestOnly; class ThroughDefiner extends DataObject implements TestOnly { private static $table_name = 'ManyThrough'; private static $many_many = [ 'Belongings' => [ 'through' => ThroughIntermediary::class, 'from' => 'Defining', 'to' => 'Belonging', ] ]; private static $owns = [ 'Belongings' ]; } |