public function setHostInfo($value) { $this->_hostName = null; $this->_hostInfo = $value === null ? null : rtrim($value, '/'); }