Symfony\Component\Form\ButtonBuilder::getOption
Returns the value of a specific option.
Signature
public function getOption(string
$name,
[mixed
$default = null] )
Parameters
$name
— string- The option name.
$default
— mixed- The value returned if the option does not exist.
Returns
- mixed
- The option value.