Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[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

Merged
merged 1 commit into from
Mar 1, 2017

Conversation

chalasr
Copy link
Member

@chalasr 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

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')
Copy link
Contributor

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?

Copy link
Member Author

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))

Copy link
Contributor

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.

Copy link
Contributor

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.

@chalasr chalasr force-pushed the propertyinfopass branch from 558ed10 to 7a7ff24 Compare March 1, 2017 08:44
@fabpot
Copy link
Member

fabpot commented Mar 1, 2017

Thank you @chalasr.

@fabpot fabpot merged commit 7a7ff24 into symfony:master Mar 1, 2017
fabpot added a commit that referenced this pull request Mar 1, 2017
…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
@chalasr chalasr deleted the propertyinfopass branch March 1, 2017 15:40
@fabpot fabpot mentioned this pull request May 1, 2017
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.

4 participants