mini\Mail\EmailInterface::__toString() Method

public abstract

Signature

public abstract function __toString(): string

Returns

string

Documentation

Reads all data from the stream into a string, from the beginning to end.

This method MUST attempt to seek to the beginning of the stream before reading data and read the stream until the end is reached.

Warning: This could attempt to load a large amount of data into memory.

This method MUST NOT raise an exception in order to conform with PHP's string casting operations.

Inherited From

Psr\Http\Message\StreamInterface

Source

StreamInterface.php:28