Skip to content
Merged
Show file tree
Hide file tree
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
Diff view
1 change: 1 addition & 0 deletions _build/redirection_map
Original file line number Diff line number Diff line change
Expand Up @@ -571,3 +571,4 @@
/testing/http_authentication /testing#testing_logging_in_users
/doctrine/registration_form /security#security-make-registration-form
/form/form_dependencies /form/create_custom_field_type
/doctrine/reverse_engineering /doctrine#doctrine-adding-mapping
5 changes: 2 additions & 3 deletions doctrine.rst
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,15 @@ affect how Doctrine functions.
There are many other Doctrine commands. Run ``php bin/console list doctrine``
to see a full list.

.. _doctrine-adding-mapping:

Creating an Entity Class
------------------------

Suppose you're building an application where products need to be displayed.
Without even thinking about Doctrine or databases, you already know that
you need a ``Product`` object to represent those products.

.. _doctrine-adding-mapping:

You can use the ``make:entity`` command to create this class and any fields you
need. The command will ask you some questions - answer them like done below:

Expand Down Expand Up @@ -1107,7 +1107,6 @@ Learn more
doctrine/dbal
doctrine/multiple_entity_managers
doctrine/resolve_target_entity
doctrine/reverse_engineering
testing/database

.. _`Doctrine`: https://www.doctrine-project.org/
Expand Down
15 changes: 0 additions & 15 deletions doctrine/reverse_engineering.rst

This file was deleted.

Loading