public function set_height($height = 170) { $min_height = 28; $this->height = max(intval($height), $min_height); return $this; }