public function setLabel($label) { if (!empty($label)) { $this->label = trim($label); } return $this; }