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

Feature/console em helper interface #926

Closed
wants to merge 2 commits into from
Closed

Feature/console em helper interface #926

wants to merge 2 commits into from

Conversation

timdev
Copy link
Contributor

@timdev timdev commented Feb 1, 2014

\Doctrine\ORM\Tools\Console\Helper\EntityManagerHelper demands a concrete EntityManager. This PR allows it to accept anything that implements EntityManagerInterface.

@doctrinebot
Copy link

Hello,

thank you for creating this pull request. I have automatically opened an issue
on our Jira Bug Tracker for you. See the issue link:

http://www.doctrine-project.org/jira/browse/DDC-2946

We use Jira to track the state of pull requests and the versions they got
included in.

@Majkl578
Copy link
Contributor

Majkl578 commented Feb 1, 2014

This is a problem not only of EM helper. I'm afraid it won't be accepted due backward incompatibility. See also #924.

@timdev
Copy link
Contributor Author

timdev commented Feb 1, 2014

@Majk578 - I don't see how it breaks BC. As far as I can tell, using the decorator/interface is the way we're supposed to go. It just appears like there are still places that say EntityManager that should say EntityManagerInterface because people haven't gotten around to fixing them. This PR is one such fix.

@timdev
Copy link
Contributor Author

timdev commented Feb 1, 2014

Replacing this with #927

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.

None yet

3 participants