public function setErrorText($text, $color = Colors::RED) { $this->errorText = $text; $this->errorColor = $color; }