File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -289,13 +289,23 @@ new controller class:
289
289
$ php bin/console make:controller BrandNewController
290
290
291
291
created: src/Controller/BrandNewController.php
292
+ created: templates/brandnew/index.html.twig
292
293
293
294
If you want to generate an entire CRUD from a Doctrine :doc: `entity </doctrine >`,
294
295
use:
295
296
296
297
.. code-block :: terminal
297
298
298
299
$ 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
299
309
300
310
.. versionadded :: 1.2
301
311
You can’t perform that action at this time.
0 commit comments