8000 Change the default mapping type to XML by sdudziak · Pull Request #12542 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Change the default mapping type to XML #12542

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 21, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
8000
Diff view
Change the default mapping type to XML
  • Loading branch information
sdudziak authored and xabbuh committed Nov 21, 2019
commit ca4a8a274d2b5de23c82ab440e2f116026aef9fa
4 changes: 2 additions & 2 deletions doctrine/reverse_engineering.rst
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ files: ``BlogPost.php`` and ``BlogComment.php``.

.. tip::

It's also possible to generate the metadata files into XML or YAML:
It's also possible to generate the metadata files into XML or eventually into YAML:

.. code-block:: terminal
Expand All @@ -82,7 +82,7 @@ files: ``BlogPost.php`` and ``BlogComment.php``.
mappings:
App:
is_bundle: false
type: yml # Set to xml in case of XML mapping
type: xml # "yml" is marked as deprecated for doctrine v2.6+ and will be removed in v3
dir: '%kernel.project_dir%/config/doctrine'
prefix: 'App\Entity'
alias: App
Expand Down
0