Hi,
I'm currently trying out Symfony2 from the main git repo (the sandbox
is currently out of sync.) As an exercise, I'm writing a BlogBundle
under my vendor prefix "foo", which lives in ./src/Bundle/foo/
BlogBundle/ and uses the namespace Bundle\foo\BlogBundle
As far as I know, I have configured my Bundle correctly: routing
works, my controller is called and can display stuff. Now I'd like to
create some entities. I have created a User class similar to the one
mentionned in the Doctrine Overview, using the namespace Bundle\foo
\BlogBundle\Entities, stored at ./src/Bundle/foo/BlogBundle/Entities/
User.php
I have tried running:
php ./blog/console doctrine:schema:create
...but all I get is:
No Metadata Classes to process.
What do I have to do to get Doctrine to find my Entities dir and parse
my classes? My config.yml does have a "doctrine.orm: ~" entry as well
as correct "doctrine.dbal" informations.
Thanks for any info.
--
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