Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
build () | |
withName ($name) | |
withType ($type) | |
withDataFields ($fields) | |
withLinkedEntities ($linkedEntities) | |
Definition at line 10 of file EntityDataObjectBuilder.php.
build | ( | ) |
A function which will build an Entity Data Object with the params specified by the object.
Definition at line 57 of file EntityDataObjectBuilder.php.
withDataFields | ( | $fields | ) |
Sets the data fields on the object to the data field array specified in the argument.
array | $fields |
Definition at line 99 of file EntityDataObjectBuilder.php.
withLinkedEntities | ( | $linkedEntities | ) |
Sets the linked entities specified by the user as a param for Entity Data Object creation.
array | $linkedEntities |
Definition at line 111 of file EntityDataObjectBuilder.php.
withName | ( | $name | ) |
Sets the name of the EntityDataObject.
string | $name |
Definition at line 75 of file EntityDataObjectBuilder.php.
withType | ( | $type | ) |
Sets the type of the EntityDataObject.
string | $type |
Definition at line 87 of file EntityDataObjectBuilder.php.