File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Original file line number Diff line number Diff line change @@ -132,10 +132,10 @@ which is the first one defined or the one configured via the
132
132
Each connection is also accessible via the ``doctrine.dbal.[name]_connection ``
133
133
service where ``[name] `` if the name of the connection.
134
134
135
- Registering custom Types
136
- ~~~~~~~~~~~~~~~~~~~~~~~~
135
+ Registering custom Mapping Types
136
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
137
137
138
- You can register custom types throught the configuration. They will be added to
138
+ You can register custom types through the configuration. They will be added to
139
139
all configured connections.
140
140
141
141
.. configuration-block ::
@@ -158,7 +158,8 @@ all configured connections.
158
158
159
159
<doctrine : config >
160
160
<doctrine : dbal >
161
- <doctrine : type name =" custom" class =" Acme\HelloBundle\MyCustomType" />
161
+ <doctrine : type name =" custom_first" class =" Acme\HelloBundle\Type\CustomFirst" />
162
+ <doctrine : type name =" custom_second" class =" Acme\HelloBundle\Type\CustomSecond" />
162
163
</doctrine : dbal >
163
164
</doctrine : config >
164
165
</container >
You can’t perform that action at this time.
0 commit comments