Skip to content

Issue 871: fix entityManager type #629

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 1 commit into from
Oct 23, 2018
Merged

Conversation

martingtheodo
Copy link
Contributor

Linked to this issue

@dunglas dunglas merged commit 48861aa into api-platform:2.3 Oct 23, 2018
@dunglas
Copy link
Member

dunglas commented Oct 23, 2018

Thanks @martingtheodo

@martingtheodo martingtheodo deleted the issue-871 branch October 23, 2018 09:37
@mBbkr
Copy link

mBbkr commented Nov 22, 2018

I'm sorry but it does'nt work with EntityManagerInteface but works with ObjectManager. I've just lost 3h to figure out this issue due to this change...

Error log with EntityManagerInterface :
Cannot autowire service "App\EventListener\UserFilterConfigurator": argument "$em" of method "__construct()" has type "Doctrine\Orm\EntityManagerInterface" but this class was not found.

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