src/Denormalizer/Relation/EmbedManyFieldDenormalizer.php 1 location
|
@@ 102-109 (lines=8) @@
|
| 99 |
|
return $existEmbObject; |
| 100 |
|
} |
| 101 |
|
|
| 102 |
|
private function resolveProxy($relatedObject) |
| 103 |
|
{ |
| 104 |
|
if (null !== $relatedObject && interface_exists('Doctrine\Common\Persistence\Proxy') |
| 105 |
|
&& $relatedObject instanceof Proxy && !$relatedObject->__isInitialized() |
| 106 |
|
) { |
| 107 |
|
$relatedObject->__load(); |
| 108 |
|
} |
| 109 |
|
} |
| 110 |
|
} |
| 111 |
|
|
src/Denormalizer/Relation/EmbedOneFieldDenormalizer.php 1 location
|
@@ 89-96 (lines=8) @@
|
| 86 |
|
return $existEmbObject; |
| 87 |
|
} |
| 88 |
|
|
| 89 |
|
private function resolveProxy($relatedObject) |
| 90 |
|
{ |
| 91 |
|
if (null !== $relatedObject && interface_exists('Doctrine\Common\Persistence\Proxy') |
| 92 |
|
&& $relatedObject instanceof Proxy && !$relatedObject->__isInitialized() |
| 93 |
|
) { |
| 94 |
|
$relatedObject->__load(); |
| 95 |
|
} |
| 96 |
|
} |
| 97 |
|
} |
| 98 |
|
|
src/Denormalizer/Relation/ReferenceManyFieldDenormalizer.php 1 location
|
@@ 84-91 (lines=8) @@
|
| 81 |
|
$this->accessor->setValue($object, $relatedObjects); |
| 82 |
|
} |
| 83 |
|
|
| 84 |
|
private function resolveProxy($relatedObject) |
| 85 |
|
{ |
| 86 |
|
if (null !== $relatedObject && interface_exists('Doctrine\Common\Persistence\Proxy') |
| 87 |
|
&& $relatedObject instanceof Proxy && !$relatedObject->__isInitialized() |
| 88 |
|
) { |
| 89 |
|
$relatedObject->__load(); |
| 90 |
|
} |
| 91 |
|
} |
| 92 |
|
} |
| 93 |
|
|
src/Denormalizer/Relation/ReferenceOneFieldDenormalizer.php 1 location
|
@@ 71-78 (lines=8) @@
|
| 68 |
|
$this->accessor->setValue($object, $relatedObject); |
| 69 |
|
} |
| 70 |
|
|
| 71 |
|
private function resolveProxy($relatedObject) |
| 72 |
|
{ |
| 73 |
|
if (null !== $relatedObject && interface_exists('Doctrine\Common\Persistence\Proxy') |
| 74 |
|
&& $relatedObject instanceof Proxy && !$relatedObject->__isInitialized() |
| 75 |
|
) { |
| 76 |
|
$relatedObject->__load(); |
| 77 |
|
} |
| 78 |
|
} |
| 79 |
|
} |
| 80 |
|
|