I tried creating getters and setters in Symfony 3.0.1
when i run the command
php bin/console doctrine:generate:entities VendorName/MyBundle/EntityName
i has an error
Namespace "VendorName\MyBundle\EntityName" does not contain any mapped entities.
where is the mistake?
Edit-1: First create an object with YAML format
Edit-2: I tried to create getters and seters for the provider package
I also try to run the php bin / console doctrine: command to generate: the VendorNameMyBundle: EntityName entities and have a different error:
Can't find base path for "VendorName\MyBundle\Entity\EntityName" (path: "/home/site/vendor/vendorname/mybundle/Entity", destination: "/home/site/vendor/vendorname/mybundle/Entity").
source
share