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

Commit35da60d

Browse files
tamirvsweaverryan
authored andcommitted
Update cookbook/doctrine/registration_form.rst
Validate Registration::$user fields, not just it's Type.
1 parent1b236fb commit35da60d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎cookbook/doctrine/registration_form.rst‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ Start by creating a simple class which represents the "registration"::
151151
{
152152
/**
153153
* @Assert\Type(type="Acme\AccountBundle\Entity\User")
154+
* @Assert\Valid()
154155
*/
155156
protected $user;
156157

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp