Constructs an AlertCommand object.
string $text: The text to be displayed in the alert box.
public function __construct($text) { $this->text = $text; }