Skip to content

Commit e51654d

Browse files
committed
Optimize object fill for AbstractModel case
1 parent 9647d87 commit e51654d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/internal/Magento/Framework/Api/DataObjectHelper.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
use Magento\Framework\Reflection\MethodsMap;
1010

1111
/**
12-
* Data object helper.
12+
* Service class allow populating object from array data
1313
*
1414
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
1515
*/
@@ -154,6 +154,7 @@ protected function _setDataValues($dataObject, array $data, $interfaceName)
154154
}
155155

156156
/**
157+
* Set complex (like object) value using $methodName based on return type of $getterMethodName
157158
*
158159
* @param mixed $dataObject
159160
* @param string $getterMethodName

0 commit comments

Comments
 (0)