We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c470274 commit 41d1356Copy full SHA for 41d1356
book/doctrine.rst
@@ -283,6 +283,17 @@ for the ``Product`` class. This is a safe command - you can run it over and
283
over again: it only generates getters and setters that don't exist (i.e. it
284
doesn't replace your existing methods).
285
286
+.. note::
287
+
288
+ Using ``doctrine:generate:entities`` command you can:
289
290
+ * generate getters and setters,
291
292
+ * generate repository classes configured with
293
+ ``@ORM\Entity(repositoryClass="...")`` annotation,
294
295
+ * generate appropriate constructor for 1:n and n:m relations.
296
297
.. caution::
298
299
The ``doctrine:generate:entities`` command saves a backup of the original
0 commit comments