public function all(): array
{ return [];
} /**
* Creates the button.
*/
public function getForm(): Button
{ return new Button($this->
getFormConfig());
} /**
* Unsupported method.
*
* @return never
*
* @throws BadMethodCallException
*/
public function addEventListener(string
$eventName, callable
$listener, int
$priority = 0
):
static {