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