Symfony\Component\Form\ButtonBuilder::hasOption
Returns whether a specific option exists.
Signature
public function hasOption(string
$name )
Parameters
$name
— string- The option name,
Returns
- Boolean
- Whether the option exists.