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

Commit45d6ed8

Browse files
pierredupxabbuh
authored andcommitted
Add docs to register custom form extensions and types for unit testing
1 parentc7af8cf commit45d6ed8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎form/unit_testing.rst‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,12 @@ allows you to return a list of extensions to register::
196196
// ... your tests
197197
}
198198

199+
It is also possible to load custom form types, form type extensions or type guessers using the
200+
``getTypedExtensions``, ``getTypes`` and ``getTypeGuessers`` methods.
201+
202+
..versionadded::3.3
203+
The ``getTypedExtensions``, ``getTypes`` and ``getTypeGuessers`` were introduced in Symfony 3.3.
204+
199205
Testing against Different Sets of Data
200206
--------------------------------------
201207

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp