Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[3.0] Added getBlockPrefix to FormTypeInterface#16724

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:masterfromwouterj:form_type_interface
Nov 28, 2015

Conversation

wouterj
Copy link
Member

QA
Bug fix?no
New feature?yes
BC breaks?yes
Deprecations?no
Tests pass?yes
Fixed tickets-
LicenseMIT
Doc PR-

@wouterj
Copy link
MemberAuthor

Failures seem unrelated to this PR

@xabbuh
Copy link
Member

@wouterj Can you rebase on the latestmaster branch? That should make the test pass.

@xabbuh
Copy link
Member

👍 anyway as the failure is not related to these changes

Status: Reviewed

@fabpot
Copy link
Member

Thank you@wouterj.

@fabpotfabpot merged commitd834cd3 intosymfony:masterNov 28, 2015
fabpot added a commit that referenced this pull requestNov 28, 2015
This PR was merged into the 3.0-dev branch.Discussion----------[3.0] Added getBlockPrefix to FormTypeInterface| Q             | A| ------------- | ---| Bug fix?      | no| New feature?  | yes| BC breaks?    | yes| Deprecations? | no| Tests pass?   | yes| Fixed tickets | -| License       | MIT| Doc PR        | -Commits-------d834cd3 Added getBlockPrefix to FormTypeInterface
@wouterjwouterj deleted the form_type_interface branchNovember 28, 2015 16:00
@webmozart
Copy link
Contributor

Here's the follow-up:#16749

Tobion added a commit that referenced this pull requestNov 29, 2015
…ce (webmozart)This PR was merged into the 3.0-dev branch.Discussion----------[Form] Added getBlockPrefix() to ResolvedFormTypeInterface| Q             | A| ------------- | ---| Bug fix?      | no| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | -| License       | MIT| Doc PR        | -This is the follow-up PR to#16724.If you call `$form->getConfig()->getType()`, all the methods of FormType should be usable. In that sense, ResolvedFormType is the developer-facing version of FormType.It is true that the same could be achieved with `getInnerType()`, but that method should be used in edge cases only as it clutters the code and makes it confusing to read:```php$blockPrefix = $form->getConfig()->getType()->getInnerType()->getBlockPrefix();```Commits-------7e89345 [Form] Added getBlockPrefix() to ResolvedFormTypeInterface
@fabpotfabpot mentioned this pull requestNov 30, 2015
stof added a commit that referenced this pull requestDec 5, 2015
This PR was submitted for the master branch but it was merged into the 3.0 branch instead (closes#16752).Discussion----------[Form] document changes to form type interfaces| Q             | A| ------------- | ---| Fixed tickets |#13407,#16024,#16724,#16749| License       | MITCommits-------b297a0c [Form] document changes to form type interfaces
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

5 participants
@wouterj@xabbuh@fabpot@webmozart@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp