diff --git a/resources/fileTemplates/internal/Magento Data Model Interface.php.html b/resources/fileTemplates/internal/Magento Data Model Interface.php.html index e69de29bb..4112468a5 100644 --- a/resources/fileTemplates/internal/Magento Data Model Interface.php.html +++ b/resources/fileTemplates/internal/Magento Data Model Interface.php.html @@ -0,0 +1,66 @@ + + +
+|
+ The data model interface indicates all the setters and getters for the related data model.
+ This used to maintain the integrity of the data, even if there is any changes in the model you will always get consistent data.
+ + |
+
| Predefined variables explanation: | +||
| + | A fully qualified name of the field namespace without a leading slash. + + | +|
| + | List of imports separated by comma. + + | +|
| + | PHP Class name. + + | +|
| + | Name of PHP class that the Class extends. + + | +|
| + | Name of PHP class that the Class implements. + + | +|
| + | Class member variables. + + | +|
|
+ The data model is a stateful data transfer object (DTO) that introduces simple data PHP object that contains only getters and setters.
+ In other words, data models are interfaces that define the list of data properties other components can expect from them.
+ + |
+
|
+ Link to documentation
+
+ DevDocs.
+ + |
+
| Predefined variables explanation: | +||
| + | A fully qualified name of the field namespace without a leading slash. + + | +|
| + | List of imports separated by comma. + + | +|
| + | PHP Class name. + + | +|
| + | Name of PHP class that the Class extends. + + | +|
| + | Name of PHP class that the Class implements. + + | +|
| + | Class member variables. + + | +|