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

support entity manager name auto-completion #731

Open
MrMitch opened this issue May 19, 2016 · 2 comments
Open

support entity manager name auto-completion #731

MrMitch opened this issue May 19, 2016 · 2 comments

Comments

@MrMitch
Copy link

MrMitch commented May 19, 2016

You can create multiple entity managers in doctrine

doctrine:
    orm:
        auto_generate_proxy_classes: "%kernel.debug%"
        entity_managers:
            foo_mysql:
                naming_strategy: doctrine.orm.naming_strategy.underscore
                connection: mysql
                mappings:
                    FooBarBundle: ~
            foo_sqlserver:
                naming_strategy: doctrine.orm.naming_strategy.underscore
                connection: sqlserver
                mappings:
                    BarFooBundle: ~
        default_entity_manager: foo_mysql

It would be nice if those names (foo_mysql, foo_sqlserver in the example) could be suggested by the auto-complete feature in the getManager($name) method of the ManagerRegistry interface.

image

@Haehnchen
Copy link
Owner

Haehnchen commented Jul 5, 2016

related #412

@Haehnchen
Copy link
Owner

Haehnchen/idea-php-shopware-plugin#30

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