8000 minor #12064 Update output from make crud and make controller (TheGar… · symfony/symfony-docs@1a9872c · GitHub
[go: up one dir, main page]

Skip to content

Commit 1a9872c

Browse files
committed
minor #12064 Update output from make crud and make controller (TheGarious)
This PR was merged into the 4.3 branch. Discussion ---------- Update output from make crud and make controller Add more detail output from command make:crud and make:controller <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- 2e0ef12 Update output from make crud and make controller
2 parents a10a949 + 2e0ef12 commit 1a9872c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

controller.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,13 +289,23 @@ new controller class:
289289
$ php bin/console make:controller BrandNewController
290290
291291
created: src/Controller/BrandNewController.php
292+
created: templates/brandnew/index.html.twig
292293
293294
If you want to generate an entire CRUD from a Doctrine :doc:`entity </doctrine>`,
294295
use:
295296

296297
.. code-block:: terminal
297298
298299
$ php bin/console make:crud Product
300+
301+
created: src/Controller/ProductController.php
302+
created: src/Form/ProductType.php
303+
created: templates/product/_delete_form.html.twig
304+
created: templates/product/_form.html.twig
305+
created: templates/product/edit.html.twig
306+
created: templates/product/index.html.twig
307+
created: templates/product/new.html.twig
308+
created: templates/product/show.html.twig
299309
300310
.. versionadded:: 1.2
301311

0 commit comments

Comments
 (0)
0