public function setState($state) { if (!empty($state) && ctype_print($state)) { $this->state = trim($state); } return $this; }