-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[FrameworkBundle][PropertyInfo] Move PropertyInfoPass to the PropertyInfo component #21806
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
Conversation
chalasr
commented
Feb 28, 2017
Q | A |
---|---|
Branch? | master |
Bug fix? | no |
New feature? | yes |
BC breaks? | no |
Deprecations? | yes |
Tests pass? | yes |
Fixed tickets | n/a |
License | MIT |
Doc PR | n/a |
d146d6a
to
558ed10
Compare
private $descriptionExtractorTag; | ||
private $accessExtractorTag; | ||
|
||
public function __construct($propertyInfoService = 'property_info', $listExtractorTag = 'property_info.list_extractor', $typeExtractorTag = 'property_info.type_extractor', $descriptionExtractorTag = 'property_info.description_extractor', $accessExtractorTag = 'property_info.access_extractor') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this kind of extension point really needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes I think, we did it for each other (see #20250 (comment))
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not? It allows configuring multiple property info services in an application easily.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It adds stuff to maintain and I'm not sure it's really useful, but if you think it is why not.
558ed10
to
7a7ff24
Compare
Thank you @chalasr. |
…to the PropertyInfo component (chalasr) This PR was merged into the 3.3-dev branch. Discussion ---------- [FrameworkBundle][PropertyInfo] Move PropertyInfoPass to the PropertyInfo component | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | yes | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a Commits ------- 7a7ff24 Move PropertyInfoPass to the PropertyInfo component