Skip to content

Commit

Permalink
minor #1611 [doc] make:entity requires Doctrine (alexislefebvre)
Browse files Browse the repository at this point in the history
This PR was squashed before being merged into the 1.x-dev branch.

Discussion
----------

[doc] make:entity requires Doctrine

Someone on Stack Overflow asked (question is not published yet) if `make:entity` can be used without Doctrine.

It looks like MakerBundle can only manage Doctrine entities, so I added it in the docs, hopefully that is true. Otherwise we'll have to change or close this PR.

Commits
-------

6adfa32 [doc] make:entity requires Doctrine
  • Loading branch information
kbond committed Dec 10, 2024
2 parents fa367a3 + 6adfa32 commit 348e80a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ optional arguments and options. Check them out with the ``--help`` option:
$ php bin/console make:controller --help
.. caution::

``make:entity`` requires ``doctrine/orm`` to be installed and configured. This maker support only ORM, not ODM.

Linting Generated Code
______________________
Expand Down

0 comments on commit 348e80a

Please sign in to comment.