> the solution was to disable the bundle, but list a mapping:
>
> doctrine:
> orm:
> mappings:
> user_bundle:
> is_bundle: false
> type: xml
> dir:
> %kernel.root_dir%/../src/FOS/UserBundle/Resources/config/doctrine/metadata/orm
> prefix: true
>
> not sure what the "prefix" is all about, but it wants something non empty
> there :)
>
The prefix is for the short notation in the Entity Manager
doctrine:
orm:
mappings:
UserBundle:
is_bundle: false
type: xml
dir: %kernel.root_dir%/../src/FOS/UserBundle/
Resources/config/doctrine/metadata/orm
prefix: FOS\UserBundle\Entity
If you set prefix to FOS\UserBundle\Entity and change the naming of
tzhe mapping you can do woth eth entitiymanager $em
$repository = $em->getRepository('UserBundle:SomeEntity');
--
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 developers" 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-devs?hl=en