Skip to content

Commit 2471cab

Browse files
committed
Merge branch '4.4'
* 4.4: Update output from make crud and make controller
2 parents 9eb6c87 + 72daec9 commit 2471cab

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)