Skip to content

[Form] Added AbstractChoiceLoader #18804

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
Aug 31, 2023

Conversation

alexandre-daubois
Copy link
Member

Fix #13120

If this one's closed, then this is the last one of the 5.1 milestone 😄

@carsonbot carsonbot added this to the 6.4 milestone Aug 30, 2023
@alexandre-daubois alexandre-daubois changed the base branch from 6.4 to 5.4 August 30, 2023 11:51
Copy link
Contributor

@HeahDude HeahDude left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for documenting this :)

This abstract class allows to save some boilerplate by implementing some
of the :class:`Symfony\\Component\\Form\\ChoiceList\\Loader\\ChoiceLoaderInterface`
methods. Thus, you'll only have to implement the
:class:`Symfony\\Component\\Form\\ChoiceList\\Loader\\AbstractChoiceLoader::loadChoices`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
:class:`Symfony\\Component\\Form\\ChoiceList\\Loader\\AbstractChoiceLoader::loadChoices`
:method:`Symfony\\Component\\Form\\ChoiceList\\Loader\\AbstractChoiceLoader::loadChoices`

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed, thanks!

@javiereguiluz
Copy link
Member

Alex, thanks for contributing this missing doc!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Form] Added an AbstractChoiceLoader to simplify implementations and ha…
4 participants