Cannot create whole crud with Doctrine (Symfony 3)

I am beginner in Symfony and I am working on existing project.

I’ve generated entity and right now, I would like to generate crud. When I am trying doctrine:generate:crud, i get

created ./src/AppBundle/Controller//CsobApiUsersController.php
  created ./app/Resources/views/csobapiusers/
  created ./app/Resources/views/csobapiusers/index.html.twig
  created ./app/Resources/views/csobapiusers/show.html.twig
  created ./app/Resources/views/csobapiusers/new.html.twig
  created ./app/Resources/views/csobapiusers/edit.html.twig
  created ./src/AppBundle/Tests/Controller//CsobApiUsersControllerTest.php
Generating the CRUD code: OK
  created ./src/AppBundle/Form/CsobApiUsersType.php
Generating the Form code: OK
Updating the routing: OK

But it generates only ./src/AppBundle/Form/CsobApiUsersType.php and ./src/AppBundle/Form/CsobApiUsersType.php

Does anybody know where is problem? Thanks a lot!

Btw is any way to change ./src/AppBundle/Controller//CsobApiUsersController.php to this path ./src/AppBundle/Controller/Backend/CsobApiUsersController.php in crud generation process? Thanks

Source: Symfony Questions

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *