Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
42 | public function compute(Registry $registry) |
||
43 | { |
||
44 | parent::compute($registry); |
||
45 | |||
46 | $source = $registry->getEntity($this->source); |
||
47 | $target = $registry->getEntity($this->target); |
||
48 | |||
49 | // create target outer field |
||
50 | $this->ensureField( |
||
51 | $source, |
||
52 | $this->options->get(Relation::INNER_KEY), |
||
53 | $this->getField($target, Relation::OUTER_KEY) |
||
54 | ); |
||
56 | } |