We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f1d07f commit bfe3f45Copy full SHA for bfe3f45
doctrine.rst
@@ -190,8 +190,8 @@ Whoa! You now have a new ``src/Entity/Product.php`` file::
190
191
This class is called an "entity". And soon, you'll be able to save and query Product
192
objects to a ``product`` table in your database. Each property in the ``Product``
193
-entity can be mapped to a column in that table. This is usually done with annotations:
194
-the ``@ORM\...`` comments that you see above each property:
+entity can be mapped to a column in that table. This is usually done with attributes:
+the ``#[ORM\Column(...)]`` comments that you see above each property:
195
196
.. image:: /_images/doctrine/mapping_single_entity.png
197
:align: center
0 commit comments