Icicle\Http\Message\Uri::withPort PHP Method

withPort() public method

Returns a new instance with the given port or null to remove port.
public withPort ( integer $port = null ) : Icicle\Http\Message\Uri
$port integer
return Icicle\Http\Message\Uri
    public function withPort(int $port = null) : Uri;