You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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).
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.
The text was updated successfully, but these errors were encountered: