Holtkamp, So when I map my database starting from an existing base is not possible to generate the "gets" and "sets" and I'll have to get manually, right?
About mapeiamento, I'm using annotations is quiet and move on. My only doubt is about the generations of gets and sets, but thank you friend. Thank you. And again, sorry for my english! Em segunda-feira, 12 de maio de 2014 13h18min13s UTC-3, Holtkamp escreveu: > > 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]<javascript:> > > 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] <javascript:>. >> To post to this group, send email to [email protected]<javascript:> >> . >> 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.
