I\'m new in symfony2.I created a repository class when I created an entity class through command line.But I couldn\'t access my custom functions in that repository class. ho
xml for mapping: Update xml mapping file in folder Resource/config/doctrine, add repository-class attribute:
http://doctrine-mongodb-odm.readthedocs.org/en/latest/cookbook/mapping-classes-to-orm-and-odm.html Then update cache:
php app/console doctrine:cache:clear-metadata
php app/console cache:clear