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

[Reference][Constraints] Added missing class to static callback example in PHP#2747

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

Closed
vjnrv wants to merge1 commit intosymfony:2.1fromvjnrv:patch-1

Conversation

@vjnrv
Copy link
Contributor

QA
Doc fix?yes
New docs?no
Applies to2.1+
Fixed tickets-

@bamarni
Copy link
Contributor

The current code is correct, it's invoking a method from the object being validated, what you're doing here is different.

Edit : nevermind, I tought it was from the first example :)

@vjnrv
Copy link
ContributorAuthor

I know that the current code is right, but this section of the doc explains how to validate with static method, all the other examples (YAML, XML and Annotation) are right, but php no.

Seehttp://symfony.com/doc/current/reference/constraints/Callback.html#methods.

@xabbuh
Copy link
Member

Looks good but you should base this on the 2.2 branch.

@vjnrv
Copy link
ContributorAuthor

Alright, here is:#2759.

@vjnrvvjnrv closed thisJun 22, 2013
@vjnrvvjnrv deleted the patch-1 branchJune 22, 2013 18:41
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@vjnrv@bamarni@xabbuh

[8]ページ先頭

©2009-2025 Movatter.jp