Skip to content

Add template annotation to ObjectManagerDecorator#216

Merged
derrabus merged 1 commit intodoctrine:2.3.xfrom
derrabus:improvement/generic-decorator
Dec 27, 2021
Merged

Add template annotation to ObjectManagerDecorator#216
derrabus merged 1 commit intodoctrine:2.3.xfrom
derrabus:improvement/generic-decorator

Conversation

@derrabus
Copy link
Member

@derrabus derrabus commented Dec 19, 2021

Downstream projects like dcotrine/orm use the decorator with their own implementations of ObjectManager. Adding a template annotation would allow stricter typing without overriding the actual property.

@derrabus derrabus added this to the 2.3.0 milestone Dec 19, 2021
@derrabus derrabus requested a review from greg0ire December 19, 2021 16:34
@derrabus derrabus force-pushed the improvement/generic-decorator branch from 9466d2d to 88b498b Compare December 19, 2021 16:35
@derrabus derrabus merged commit faa9c14 into doctrine:2.3.x Dec 27, 2021
@derrabus derrabus deleted the improvement/generic-decorator branch December 27, 2021 19:54
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.

3 participants