Skip to content

Commit 5d29134

Browse files
committed
doctrine.rst - suggestions by ryan symfony#1
1 parent d82c309 commit 5d29134

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

reference/configuration/doctrine.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -608,18 +608,18 @@ For example, the following looks for entity classes in the ``App\Entity`` namesp
608608
),
609609
));
610610
611-
Detecting a Mapping MetadataDriver
612-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
611+
Detecting a Mapping Configuration Format
612+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
613613

614614
If the ``type`` on the bundle configuration isn't set,
615-
the DoctrineBundle will try to detect the correct metadata driver for
615+
the DoctrineBundle will try to detect the correct mapping configuration format for
616616
the bundle. The DoctrineBundle will look for files following the filename pattern
617617
``[BundleDirectory]/[ResourceConfigurationDirectory]/*.orm.[Extension]``.
618618
The ``ResourceConfigurationDirectory``, by default, points to
619619
``Resources/config/doctrine``.
620620

621621
The bundle looks for (in this order) XML, YAML and PHP files.
622-
Using the ``automapping`` feature, every bundle can have only one configuration format.
622+
Using the ``auto_mapping`` feature, every bundle can have only one configuration format.
623623
The bundle will stop as soon as it locates one.
624624

625625
If it wasn't possible to determine a configuration format, it will check if

0 commit comments

Comments
 (0)