Skip to content

Remove no longer necessary factory #2930

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 2 commits into from
Sep 9, 2013

Conversation

Burgov
Copy link
Contributor

@Burgov Burgov commented Aug 24, 2013

Q A
Doc fix? yes
New docs? no
Applies to 2.2+
Fixed tickets -

The doc says you don't have to use the factory anymore since 2.2, yet does so itself a couple of paragraphs later.

The other occurrences of factory usages will be fixed by #2927

The second commit applies to earlier verrsion as well, but if i'm not mistaken, these docs aren't maintained anymore?

Burgov added 2 commits August 24, 2013 15:11
(you cannot simply call "->createForm()" in "any service that has access to the form factory")
weaverryan added a commit that referenced this pull request Sep 9, 2013
@weaverryan weaverryan merged commit e6286c7 into symfony:2.2 Sep 9, 2013
@weaverryan
Copy link
Member

Thanks @Burgov! I just saw this in the docs last week, and you already had this PR to fix it :).

And you're right - 2.1 is unmaintained, so we don't typically make changes to it.

Cheers!

@Burgov Burgov deleted the remove_no_longer_necessary_factory branch September 9, 2013 14:04
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.

2 participants