Skip to content

Revert fix factory-service new syntax #9729

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
May 4, 2018
Merged

Conversation

lex111
Copy link
Contributor

@lex111 lex111 commented May 3, 2018

This should apply only to branches 2.x (2.7 and 2.8), new versions (> 3.x) use the full class name, and therefore two colons should be used, not one

@xabbuh
Copy link
Member

xabbuh commented May 4, 2018

Thank you @lex111.

@xabbuh xabbuh merged commit bd43a5f into symfony:2.7 May 4, 2018
xabbuh added a commit that referenced this pull request May 4, 2018
This PR was merged into the 2.7 branch.

Discussion
----------

Revert fix factory-service new syntax

This should apply **only** to branches 2.x (`2.7` and `2.8`), new versions (> 3.x) use the full class name, and therefore two colons should be used, not one

Commits
-------

bd43a5f Revert fix factory-service new syntax
@xabbuh
Copy link
Member

xabbuh commented May 4, 2018

FYI, the related code for parsing the factory syntax is not located in the Definition class, but resides in the YamlFileLoader class: https://github.com/symfony/symfony/blob/2.7/src/Symfony/Component/DependencyInjection/Loader/YamlFileLoader.php#L194-L203

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