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

This project should implement the doctrine/persistence interface #92

Open
stof opened this issue Oct 23, 2024 · 1 comment
Open

This project should implement the doctrine/persistence interface #92

stof opened this issue Oct 23, 2024 · 1 comment

Comments

@stof
Copy link
Contributor

stof commented Oct 23, 2024

If the goal is to be interchangeable with Doctrine ORM or Doctrine MongoDB ODM, this package should be implementing the interfaces from doctrine/persistence instead of defining its own interface that have similar method names, but are not the same type (The PHP type system is nominal, so looking like a duck does not make you a duck).

@clementtalleu
Copy link
Owner

OK, I'll take a look at it, thanks!

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