-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Closed
Description
Hi,
According to the symfony best practices part on form
it could be great to only have one function to do the "job" of this part
before
if ($form->isSubmitted() && $form->isValid()) {}
after
if ($form->isSubmittedAndValid()) {}
I know the the isSubmitted is only here so that the logic is more understandable when reading, but is redundant to write both, no?
Metadata
Metadata
Assignees
Labels
No labels