Symfony\Component\Form\ButtonBuilder::__construct
Creates a new button builder.
Signature
public function __construct(string
$name,
array
$options )
Parameters
$name
— string- The name of the button.
$options
— array- The button's options.
Errors/Exceptions
-
InvalidArgumentException
- If the name is empty.