text = $text; if (! empty($type)) { $this->type = $type; } } /** * @return string */ public function __toString() { return $this->text; } }