@@ -43,7 +43,6 @@ The following configuration code shows how you can configure two entity managers
43
43
mappings :
44
44
Main :
45
45
is_bundle : false
46
- type : annotation
47
46
dir : ' %kernel.project_dir%/src/Entity/Main'
48
47
prefix : ' App\Entity\Main'
49
48
alias : Main
@@ -52,7 +51,6 @@ The following configuration code shows how you can configure two entity managers
52
51
mappings :
53
52
Customer :
54
53
is_bundle : false
55
- type : annotation
56
54
dir : ' %kernel.project_dir%/src/Entity/Customer'
57
55
prefix : ' App\Entity\Customer'
58
56
alias : Customer
@@ -85,7 +83,6 @@ The following configuration code shows how you can configure two entity managers
85
83
<doctrine : mapping
86
84
name =" Main"
87
85
is_bundle =" false"
88
- type =" annotation"
89
86
dir =" %kernel.project_dir%/src/Entity/Main"
90
87
prefix =" App\Entity\Main"
91
88
alias =" Main"
@@ -96,7 +93,6 @@ The following configuration code shows how you can configure two entity managers
96
93
<doctrine : mapping
97
94
name =" Customer"
98
95
is_bundle =" false"
99
- type =" annotation"
100
96
dir =" %kernel.project_dir%/src/Entity/Customer"
101
97
prefix =" App\Entity\Customer"
102
98
alias =" Customer"
@@ -127,15 +123,13 @@ The following configuration code shows how you can configure two entity managers
127
123
$defaultEntityManager->connection('default');
128
124
$defaultEntityManager->mapping('Main')
129
125
->isBundle(false)
130
- ->type('annotation')
131
126
->dir('%kernel.project_dir%/src/Entity/Main')
132
127
->prefix('App\Entity\Main')
133
128
->alias('Main');
134
129
$customerEntityManager = $doctrine->orm()->entityManager('customer');
135
130
$customerEntityManager->connection('customer');
136
131
$customerEntityManager->mapping('Customer')
137
132
->isBundle(false)
138
- ->type('annotation')
139
133
->dir('%kernel.project_dir%/src/Entity/Customer')
140
134
->prefix('App\Entity\Customer')
141
135
->alias('Customer')
0 commit comments