Skip to content

[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

Merged
merged 5 commits into from
Jul 30, 2013
Merged

Conversation

matteocaberlotto
Copy link
Contributor

No description provided.

realpath(__DIR__ . '/Resources/config/doctrine-model') => 'Symfony\Cmf\Bundle\RoutingBundle\Model',
realpath(__DIR__ . '/Resources/config/doctrine-orm') => 'Symfony\Cmf\Bundle\RoutingBundle\Doctrine\Orm',
)
)
Copy link
Member

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')) {
Copy link
Member

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

@lsmith77
Copy link
Member

does this PR supersede #122 ?

@matteocaberlotto
Copy link
Contributor Author

i think just to be merged into /orm branch

dbu added a commit that referenced this pull request Jul 30, 2013
[WIP] orm - entities and configuration
@dbu dbu merged commit f5dfd9f into symfony-cmf:orm Jul 30, 2013
@matteocaberlotto matteocaberlotto deleted the orm branch August 2, 2013 13:06
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

Successfully merging this pull request may close these issues.

3 participants