File tree 4 files changed +13
-18
lines changed
4 files changed +13
-18
lines changed Original file line number Diff line number Diff line change 571
571
/testing/http_authentication /testing#testing_logging_in_users
572
572
/doctrine/registration_form /security#security-make-registration-form
573
573
/form/form_dependencies /form/create_custom_field_type
574
+ /doctrine/reverse_engineering /doctrine#doctrine-adding-mapping
Original file line number Diff line number Diff line change @@ -84,15 +84,15 @@ affect how Doctrine functions.
84
84
There are many other Doctrine commands. Run ``php bin/console list doctrine ``
85
85
to see a full list.
86
86
87
+ .. _doctrine-adding-mapping :
88
+
87
89
Creating an Entity Class
88
90
------------------------
89
91
90
92
Suppose you're building an application where products need to be displayed.
91
93
Without even thinking about Doctrine or databases, you already know that
92
94
you need a ``Product `` object to represent those products.
93
95
94
- .. _doctrine-adding-mapping :
95
-
96
96
You can use the ``make:entity `` command to create this class and any fields you
97
97
need. The command will ask you some questions - answer them like done below:
98
98
@@ -1107,7 +1107,6 @@ Learn more
1107
1107
doctrine/dbal
1108
1108
doctrine/multiple_entity_managers
1109
1109
doctrine/resolve_target_entity
1110
- doctrine/reverse_engineering
1111
1110
testing/database
1112
1111
1113
1112
.. _`Doctrine` : https://www.doctrine-project.org/
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -6,6 +6,16 @@ whether you need to render HTML from a :doc:`controller </controller>` or genera
6
6
the :doc: `contents of an email </mailer >`. Templates in Symfony are created with
7
7
Twig: a flexible, fast, and secure template engine.
8
8
9
+ Installation
10
+ ------------
11
+
12
+ In applications using :ref: `Symfony Flex <symfony-flex >`, run the following command
13
+ to install both Twig language support and its integration with Symfony applications:
14
+
15
+ .. code-block :: terminal
16
+
17
+ $ composer require symfony/twig-bundle
18
+
9
19
.. _twig-language :
10
20
11
21
Twig Templating Language
You can’t perform that action at this time.
0 commit comments