Skip to content

Commit 5582881

Browse files
committed
Tweak
1 parent da531f3 commit 5582881

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

reference/forms/types/options/choice_loader.rst.inc

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,13 @@ This will cause the call of ``StaticClass::getConstants()`` to not happen if the
2626
request is redirected and if there is no pre set or submitted data. Otherwise
2727
the choice options would need to be resolved thus triggering the callback.
2828

29-
If the ``CallbackChoiceLoader`` doesn't fit your needs and you want to create
30-
your own loader, you can either create a loader by implementing the
29+
If the built-in ``CallbackChoiceLoader`` doesn't fit your needs, you can create
30+
your own loader by implementing the
3131
:class:`Symfony\\Component\\Form\\ChoiceList\\Loader\\ChoiceLoaderInterface`
3232
or by extending the
3333
:class:`Symfony\\Component\\Form\\ChoiceList\\Loader\\AbstractChoiceLoader`.
34-
This abstract class allows to save some boilerplate by implementing some
35-
of the :class:`Symfony\\Component\\Form\\ChoiceList\\Loader\\ChoiceLoaderInterface`
36-
methods. Thus, you'll only have to implement the
34+
This abstract class saves you some boilerplate by implementing some methods of
35+
the interface so you'll only have to implement the
3736
:method:`Symfony\\Component\\Form\\ChoiceList\\Loader\\AbstractChoiceLoader::loadChoices`
3837
method to have a fully functional choice loader.
3938

0 commit comments

Comments
 (0)