public function setSuccessText($text, $color = Colors::GREEN) { $this->successText = $text; $this->successColor = $color; }