From 2e0ef12bbd24a13f289fdb488abadf1fc592290e Mon Sep 17 00:00:00 2001 From: Gary Date: Tue, 30 Jul 2019 16:22:45 +0200 Subject: [PATCH] Update output from make crud and make controller Add more detail output from command make:crud and make:controller --- controller.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/controller.rst b/controller.rst index 35dc6358238..db23a8b7d5e 100644 --- a/controller.rst +++ b/controller.rst @@ -289,6 +289,7 @@ new controller class: $ php bin/console make:controller BrandNewController created: src/Controller/BrandNewController.php + created: templates/brandnew/index.html.twig If you want to generate an entire CRUD from a Doctrine :doc:`entity `, use: @@ -296,6 +297,15 @@ use: .. code-block:: terminal $ php bin/console make:crud Product + + created: src/Controller/ProductController.php + created: src/Form/ProductType.php + created: templates/product/_delete_form.html.twig + created: templates/product/_form.html.twig + created: templates/product/edit.html.twig + created: templates/product/index.html.twig + created: templates/product/new.html.twig + created: templates/product/show.html.twig .. versionadded:: 1.2