| Total Complexity | 4 | 
| Total Lines | 24 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 9 | class PolyItem extends DataObject implements TestOnly  | 
            ||
| 10 | { | 
            ||
| 11 | private static $table_name = 'ManyManyThroughListTest_PolyItem';  | 
            ||
| 
                                                                                                    
                        
                         | 
                |||
| 12 | |||
| 13 | private static $db = [  | 
            ||
| 14 | 'Title' => 'Varchar'  | 
            ||
| 15 | ];  | 
            ||
| 16 | |||
| 17 | private static $has_many = [  | 
            ||
| 18 | 'JoinObject' => PolyJoinObject::class . '.Items',  | 
            ||
| 19 | ];  | 
            ||
| 20 | |||
| 21 | /**  | 
            ||
| 22 | * Placeholder for missing belongs_many_many for polymorphic relation  | 
            ||
| 23 | *  | 
            ||
| 24 | * @todo Make this work for belongs_many_many  | 
            ||
| 25 | * @return Generator|DataObject[]  | 
            ||
| 26 | */  | 
            ||
| 27 | public function Objects()  | 
            ||
| 37 |