-
Notifications
You must be signed in to change notification settings - Fork 76
[WIP] orm - entities and configuration #133
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
Conversation
realpath(__DIR__ . '/Resources/config/doctrine-model') => 'Symfony\Cmf\Bundle\RoutingBundle\Model', | ||
realpath(__DIR__ . '/Resources/config/doctrine-orm') => 'Symfony\Cmf\Bundle\RoutingBundle\Doctrine\Orm', | ||
) | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is missing the arguments to know the container parameter names of the manager name and of the parameter that tells if orm is activated.
@@ -37,6 +38,17 @@ public function build(ContainerBuilder $container) | |||
) | |||
); | |||
} | |||
|
|||
if (class_exists('Doctrine\Bundle\DoctrineBundle\DependencyInjection\Compiler\DoctrineOrmMappingsPass')) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh, i just noticed that we provide a orm mapping pass in corebundle so that we do not need to up the symfony and doctrine version too much. we should use Symfony\Cmf\Bundle\CoreBundle\DependencyInjection\Compiler\DoctrineOrmMappingsPass instead
does this PR supersede #122 ? |
i think just to be merged into /orm branch |
[WIP] orm - entities and configuration
No description provided.