Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doctrine ORM mappings pass file missing #333

Closed
youlweb opened this issue Sep 24, 2014 · 2 comments
Closed

Doctrine ORM mappings pass file missing #333

youlweb opened this issue Sep 24, 2014 · 2 comments

Comments

@youlweb
Copy link

youlweb commented Sep 24, 2014

I installed Symfony 2.5 fresh using composer create-project symfony/framework-standard-edition path/ "2.5.*".
Now I'm trying to follow the instructions on how to provide model classes for several Doctrine implementations (http://symfony.com/doc/current/cookbook/doctrine/mapping_model_classes.html). Great article btw, thanks for providing such advanced maneuvers in the doc. Unfortunately the dependency Doctrine\Bundle\DoctrineBundle\DependencyInjection\Compiler\DoctrineOrmMappingsPass is not present on my system. In the instructions page, the blue box labeled "2.3" mentions that the file should be included in Doctrine-bundle >= 1.2.1. My composer.json says: "doctrine/doctrine-bundle": "~1.2", which should definitely match that requirement.
I downloaded Symfony 2.5 in .zip version to double check, and the file is missing there too.
Any help appreciated.

@xabbuh
Copy link
Member

xabbuh commented Sep 25, 2014

The description in the Symfony cookbook is actually wrong. The DoctrineOrmMappingsPass class was first part of DoctrineBundle 1.3.0-beta1. I created an issue on the documentation repository for this (see symfony/symfony-docs#4273).

Thank you @youlweb for spotting this!

@youlweb
Copy link
Author

youlweb commented Sep 25, 2014

Thank you @xabbuh for your response. Much appreciated.

@youlweb youlweb closed this as completed Sep 25, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants