Skip to content

Commit 4858228

Browse files
author
Valeriy Nayda
committed
MAGETWO-70716: Provide entity manager description
1 parent a1043c9 commit 4858228

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

lib/internal/Magento/Framework/EntityManager/EntityManager.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,15 @@
1212
use Magento\Framework\EntityManager\Operation\UpdateInterface;
1313

1414
/**
15-
* Class EntityManager
16-
*
17-
* It's not recommended to use EntityManager and its infrastructure for your entity persistence.
15+
* It's not recommended to use EntityManager and its infrastructure for your entities persistence.
1816
* In the nearest future new Persistence Entity Manager would be released which will cover all the requirements for
1917
* persistence layer along with Query API as performance efficient APIs for Read scenarios.
2018
*
2119
* Currently, it's recommended to use Resource Model infrastructure and make a successor of
2220
* Magento\Framework\Model\ResourceModel\Db\AbstractDb class.
2321
*
2422
* For filtering operations, it's recommended to use successor of
25-
* Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection
23+
* Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection class.
2624
*/
2725
class EntityManager
2826
{
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# EntityManager
22

3-
**EntityManager** library contains functionality for management entity instances.
4-
It includes read and write operations as for entity as for their attributes and extensions.
3+
**EntityManager** library contains functionality for entity persistence layer.
4+
EntityManager supports persistence of basic entity attributes as well as extension and custom attributes
5+
added by 3rd party developers for the purpose of extending default entity behavior.
56

67
It's not recommended to use EntityManager and its infrastructure for your entity persistence.
78
In the nearest future new Persistence Entity Manager would be released which will cover all the requirements for
@@ -11,4 +12,4 @@ Currently, it's recommended to use Resource Model infrastructure and make a succ
1112
Magento\Framework\Model\ResourceModel\Db\AbstractDb class.
1213

1314
For filtering operations, it's recommended to use successor of
14-
Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection
15+
Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection class.

0 commit comments

Comments
 (0)