mini\Mail\EmailInterface::withProtocolVersion() Method

public abstract

Signature

public abstract function withProtocolVersion(string $version): Psr\Http\Message\MessageInterface

Parameters

Name Type Default Description
$version string required Documentation missing

Returns

Psr\Http\Message\MessageInterface

Documentation

Return an instance with the specified HTTP protocol version.

The version string MUST contain only the HTTP version number (e.g., "1.1", "1.0").

This method MUST be implemented in such a way as to retain the immutability of the message, and MUST return an instance that has the new protocol version.

Inherited From

Psr\Http\Message\MessageInterface

Source

MessageInterface.php:41