M
M
magary42017-05-18 10:59:45
symfony
magary4, 2017-05-18 10:59:45

How to separate form handling from controller?

The controller makes some kind of common logic for all projects and shows the same form
, but what happens here
if ( $Form->isSubmitted() && $Form->isValid() ) {
needs to be made flexible so that it can be customized for each project,
please tell me how

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
voronkovich, 2017-05-20
@voronkovich

Maybe form-handler-bundle can help you

U
usr58, 2017-05-25
@usr58

you can like here:
https://github.com/akeneo/pim-community-dev/blob/m...
https://github.com/akeneo/pim-community-dev/blob/m...
and there somewhere else the Saver service was...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question