final public function getDefaultPort($name)
	{
		$this->_getPortKey($name);
		if ($this->isNamedPort($name)) {
			return constant($this->_port_class . $name);
		} else {
			throw new \InvalidArgumentException("Unknown name or scheme: {$name}");
		}
	}
final public function getDefaultPort($name)
	{
		$this->_getPortKey($name);
		if ($this->isNamedPort($name)) {
			return constant($this->_port_class . $name);
		} else {
			throw new \InvalidArgumentException("Unknown name or scheme: {$name}");
		}
	}
final public function getDefaultPort ( $ name ) { $ this -> _getPortKey ( $ name ) ; if ( $ this -> isNamedPort ( $ name ) ) { return constant ( $ this -> _port_class . $ name ) ; } else { throw new \ InvalidArgumentException ( "Unknown name or scheme: {$name}" ) ; } }
Get the port number from its name or scheme

@param  string $name The name or scheme
@return int          The default port number for it
Get the port number from its name or scheme