Php/docs/ui-controls-button.gettext
From Get docs
(UI 0.9.9)
UI\Controls\Button::getText — Get Text
public UI\Controls\Button::getText ( ) : string
Shall retrieve the text (label) for this Button
This function has no parameters.
The current text (label)