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

Make indexBy/orderBy easier to understand for SA #10687

Merged
merged 1 commit into from May 8, 2023

Conversation

greg0ire
Copy link
Member

@greg0ire greg0ire commented May 8, 2023

Interfaces cannot have properties, and we do not have a concept of sealed classes available to us without installing third party packages. Interfaces can have methods however, which allows us to simplify calling code.
I've been avoiding introducing getters for mapping properties because I do not know what the performance implications are, but here, I think it is sensible to make an exception, given the benefits.

Interfaces cannot have properties, and we do not have a concept of
sealed classes available to us without installing third party packages.
Interfaces can have methods however, which allows us to simplify calling
code.
I've been avoiding introducing getters for mapping properties because I
do not know what the performance implications are, but here, I think it
is sensible to make an exception, given the benefits.
@derrabus derrabus added this to the 3.0.0 milestone May 8, 2023
@derrabus derrabus merged commit 05b5a64 into doctrine:3.0.x May 8, 2023
37 checks passed
@greg0ire greg0ire deleted the convenience-methods branch May 8, 2023 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants