use doctrine:generate:entities

On Tue, Jun 21, 2011 at 10:55 AM, Christophe COEVOET <s...@notk.org> wrote:
> Le 21/06/2011 16:21, Kein a écrit :
>
> Im using this tutorial.
> But command "php app/console doctrine:schema:update --force" not generate
> setter and getter for Acme\StoreBundle\Entity\Product
> And i recive error "Fatal error: Call to undefined method
> Acme\StoreBundle\Entity\Product::setCategory() in"
> Where can be problem? How make doctrine generate correct setter and getter
> form added annotation to entities?
>
> doctrine:schema:update is not meant to generate setters but to generate
> tables in the database.
>
> --
> Christophe | Stof
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony users" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to