public function setText($text) { $text = trim($text); if ($text) { $this->text = $text; } return $this; }