| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | public function init() |
||
| 18 | { |
||
| 19 | $this->addClass(SearchUpdaterTest_Container::class); |
||
| 20 | // this one has not the relation defined in it's class but is rather inherited from parent |
||
| 21 | // note that even if we do not include it's parent class the fields will be properly added |
||
| 22 | $this->addClass(SearchUpdaterTest_ExtendedContainer::class); |
||
| 23 | |||
| 24 | // These relationships exist on both classes |
||
| 25 | $this->addFilterField('HasManyObjects.Field1'); |
||
| 26 | $this->addFilterField('ManyManyObjects.Field1'); |
||
| 27 | } |
||
| 29 |