8000 [Form] Add better docs for `FormTypeExtensionInterface` by chr-hertel · Pull Request #48226 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Form] Add better docs for FormTypeExtensionInterface #48226

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 19, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/Symfony/Component/Form/FormTypeExtensionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ interface FormTypeExtensionInterface
* This method is called after the extended type has built the form to
* further modify it.
*
* @param array<string, mixed> $options
*
* @see FormTypeInterface::buildForm()
*/
public function buildForm(FormBuilderInterface $builder, array $options);
Expand All @@ -34,6 +36,8 @@ public function buildForm(FormBuilderInterface $builder, array $options);
* This method is called after the extended type has built the view to
* further modify it.
*
* @param array<string, mixed> $options
*
* @see FormTypeInterface::buildView()
*/
public function buildView(FormView $view, FormInterface $form, array $options);
Expand All @@ -44,6 +48,8 @@ public function buildView(FormView $view, FormInterface $form, array $options);
* This method is called after the extended type has finished the view to
* further modify it.
*
* @param array<string, mixed> $options
*
* @see FormTypeInterface::finishView()
*/
public function finishView(FormView $view, FormInterface $form, array $options);
Expand Down
0