File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
lib/internal/Magento/Framework/EntityManager Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 17
17
* persistence layer along with Query API as performance efficient APIs for Read scenarios.
18
18
*
19
19
* Currently, it's recommended to use Resource Model infrastructure and make a successor of
20
- * Magento\Framework\Model\ResourceModel\Db\AbstractDb class.
20
+ * Magento\Framework\Model\ResourceModel\Db\AbstractDb class or successor of
21
+ * Magento\Eav\Model\Entity\AbstractEntity if EAV attributes support needed.
21
22
*
22
23
* For filtering operations, it's recommended to use successor of
23
24
* Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection class.
25
+ *
26
+ * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
24
27
*/
25
28
class EntityManager
26
29
{
Original file line number Diff line number Diff line change @@ -9,7 +9,8 @@ In the nearest future new Persistence Entity Manager would be released which wil
9
9
persistence layer along with Query API as performance efficient APIs for Read scenarios.
10
10
11
11
Currently, it's recommended to use Resource Model infrastructure and make a successor of
12
- Magento\Framework\Model\ResourceModel\Db\AbstractDb class.
12
+ Magento\Framework\Model\ResourceModel\Db\AbstractDb class or successor of
13
+ Magento\Eav\Model\Entity\AbstractEntity if EAV attributes support needed.
13
14
14
15
For filtering operations, it's recommended to use successor of
15
16
Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection class.
You can’t perform that action at this time.
0 commit comments