src/Observers/AttributeOptionObserver.php 1 location
|
@@ 132-139 (lines=8) @@
|
129 |
|
* @return array The merged entity |
130 |
|
* @todo https://github.com/techdivision/import/issues/179 |
131 |
|
*/ |
132 |
|
protected function mergeEntity(array $entity, array $attr, $changeSetName = null) |
133 |
|
{ |
134 |
|
return array_merge( |
135 |
|
$entity, |
136 |
|
$this->entityMerger ? $this->entityMerger->merge($this, $entity, $attr) : $attr, |
137 |
|
array(EntityStatus::MEMBER_NAME => $this->detectState($entity, $attr, $changeSetName)) |
138 |
|
); |
139 |
|
} |
140 |
|
|
141 |
|
/** |
142 |
|
* Appends the dynamic to the static attributes for the EAV attribute |
src/Observers/CatalogAttributeObserver.php 1 location
|
@@ 151-158 (lines=8) @@
|
148 |
|
* @return array The merged entity |
149 |
|
* @todo https://github.com/techdivision/import/issues/179 |
150 |
|
*/ |
151 |
|
protected function mergeEntity(array $entity, array $attr, $changeSetName = null) |
152 |
|
{ |
153 |
|
return array_merge( |
154 |
|
$entity, |
155 |
|
$this->entityMerger ? $this->entityMerger->merge($this, $entity, $attr) : $attr, |
156 |
|
array(EntityStatus::MEMBER_NAME => $this->detectState($entity, $attr, $changeSetName)) |
157 |
|
); |
158 |
|
} |
159 |
|
|
160 |
|
/** |
161 |
|
* Prepare the attributes of the entity that has to be persisted. |
src/Observers/EntityAttributeObserver.php 1 location
|
@@ 138-145 (lines=8) @@
|
135 |
|
* @return array The merged entity |
136 |
|
* @todo https://github.com/techdivision/import/issues/179 |
137 |
|
*/ |
138 |
|
protected function mergeEntity(array $entity, array $attr, $changeSetName = null) |
139 |
|
{ |
140 |
|
return array_merge( |
141 |
|
$entity, |
142 |
|
$this->entityMerger ? $this->entityMerger->merge($this, $entity, $attr) : $attr, |
143 |
|
array(EntityStatus::MEMBER_NAME => $this->detectState($entity, $attr, $changeSetName)) |
144 |
|
); |
145 |
|
} |
146 |
|
|
147 |
|
/** |
148 |
|
* Prepare the attributes of the entity that has to be persisted. |