public function setPort($value) { if ($value != $this->_port) { $this->_port = (int) $value; $this->_hostInfo = null; } }