Ok, so you: 1. created your Entities using information in your database 2. can not generate getter and setter functions
Step 2. uses metadata about your Entities, for example using annotations in the PHP classes, or separate XML / YAML files. You need to make sure this metadata is: 1. defined (with annotations, or XML / YAML files) 2. can be accessed by the doctrine.php commandline script (I think here is your challenge) Also see: - http://docs.doctrine-project.org/en/latest/reference/configuration.html#setting-up-the-commandline-tool - http://docs.doctrine-project.org/en/latest/reference/metadata-drivers.html Boa sorte! Cheers On 12 May 2014 16:54, Alisson Nunes da Rocha <[email protected]>wrote: > Good morning guys, I'm from Brazil and I'm sorry for English. > > I have a little problem in "generate-entities" command in the generation > or update of entities, I add the "gets" and "sets" in my entities ever > created and I can not. When I try to run: > > php doctrine.php orm:generate-entities --generate-annotations="true" > /wamp/www/audiencia/application/models/entity/ ele retorna: "No Metada > Classes to process.". > > Can someone give me a light? > > Note: My entities are already created, cirei by this command: > php doctrine.php orm:convert-mapping --from-database > --namespace="Entity\\" annotation /wamp/www/audiencia/application/models > > -- > You received this message because you are subscribed to the Google Groups > "doctrine-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/doctrine-user. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "doctrine-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/doctrine-user. For more options, visit https://groups.google.com/d/optout.
