Hacking ORM according to this page:
http://docs.symfony-reloaded.org/guides/doctrine/orm/overview.html

Created following files and past the codes from the example,
// Application/HelloBundle/Entity/User.php Application/HelloBundle/
Resources/config/doctrine/metadata/orm/
Application.HelloBundle.Entity.User.dcm.yml

In dos command prompt:
php app/console doctrine:database:create
Success create database symfony2

php app/console doctrine:schema:create

It prints out the content of Application/HelloBundle/Entity/User.php
but get this error:
[ReflectionException]
Class Application\HelloBundle\Entity\User does not exists.

Thanks for help.

-- 
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to