Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.3k
Add docs to register custom form extensions and types for unit testing#7578
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
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -196,6 +196,12 @@ allows you to return a list of extensions to register:: | ||
| // ... your tests | ||
| } | ||
| It is also possible to load custom form types, form type extensions or type guessers using the | ||
| ``getTypedExtensions``, ``getTypes`` and ``getTypeGuessers`` methods. | ||
Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. This should be part of a separate pull request as we will have to merge it into the Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. One thing I forgot: Can you also add a | ||
| .. versionadded:: 3.3 | ||
| The ``getTypedExtensions``, ``getTypes`` and ``getTypeGuessers`` were introduced in Symfony 3.3. | ||
| Testing against Different Sets of Data | ||
| -------------------------------------- | ||