Symfony\Component\Form\ButtonBuilder::setType
Sets the type of the button.
Signature
public function setType(ResolvedFormTypeInterface
$type )
Parameters
$type
— Symfony\Component\Form\ResolvedFormTypeInterface- The type of the button.
Returns
- ButtonBuilder
- The button builder.