@@ -63,27 +63,27 @@ class EntityManager implements EntityManagerInterface
63
63
/**
64
64
* The metadata factory, used to retrieve the ORM metadata of entity classes.
65
65
*/
66
- private readonly ClassMetadataFactory $ metadataFactory ;
66
+ private ClassMetadataFactory $ metadataFactory ;
67
67
68
68
/**
69
69
* The UnitOfWork used to coordinate object-level transactions.
70
70
*/
71
- private readonly UnitOfWork $ unitOfWork ;
71
+ private UnitOfWork $ unitOfWork ;
72
72
73
73
/**
74
74
* The event manager that is the central point of the event system.
75
75
*/
76
- private readonly EventManager $ eventManager ;
76
+ private EventManager $ eventManager ;
77
77
78
78
/**
79
79
* The proxy factory used to create dynamic proxies.
80
80
*/
81
- private readonly ProxyFactory $ proxyFactory ;
81
+ private ProxyFactory $ proxyFactory ;
82
82
83
83
/**
84
84
* The repository factory used to create dynamic repositories.
85
85
*/
86
- private readonly RepositoryFactory $ repositoryFactory ;
86
+ private RepositoryFactory $ repositoryFactory ;
87
87
88
88
/**
89
89
* The expression builder instance used to generate query expressions.
@@ -112,8 +112,8 @@ class EntityManager implements EntityManagerInterface
112
112
* @param Connection $conn The database connection used by the EntityManager.
113
113
*/
114
114
public function __construct (
115
- private readonly Connection $ conn ,
116
- private readonly Configuration $ config ,
115
+ private Connection $ conn ,
116
+ private Configuration $ config ,
117
117
EventManager |null $ eventManager = null ,
118
118
) {
119
119
if (! $ config ->getMetadataDriverImpl ()) {
0 commit comments