| @@ 113-118 (lines=6) @@ | ||
| 110 | } |
|
| 111 | ||
| 112 | // ManyToOne mappings |
|
| 113 | if ($this->hasJoinColumns($target)) { |
|
| 114 | $overrideMapping['joinColumns'] = $this->mapJoinColumns( |
|
| 115 | $target['joinColumns'], |
|
| 116 | $source['joinColumns'] |
|
| 117 | ); |
|
| 118 | } |
|
| 119 | ||
| 120 | $this->builder->getClassMetadata()->setAssociationOverride( |
|
| 121 | $this->name, |
|
| @@ 175-180 (lines=6) @@ | ||
| 172 | { |
|
| 173 | $joinTable['name'] = $target['name']; |
|
| 174 | ||
| 175 | if ($this->hasJoinColumns($target)) { |
|
| 176 | $joinTable['joinColumns'] = $this->mapJoinColumns( |
|
| 177 | $target['joinColumns'], |
|
| 178 | $source['joinColumns'] |
|
| 179 | ); |
|
| 180 | } |
|
| 181 | ||
| 182 | if ($this->hasInverseJoinColumns($target)) { |
|
| 183 | $joinTable['inverseJoinColumns'] = $this->mapJoinColumns( |
|