Метод | Описание | |
---|---|---|
__construct ( string | resource | Psr\Http\Message\StreamInterface $value ) | ||
__toString ( ) : string | Format the value as a string. | |
formatAsString ( ) : string | Format the value as a string. | |
get ( ) : Psr\Http\Message\StreamInterface | Get the bytes as a stream. | |
type ( ) : string | Get the type. |
public __construct ( string | resource | Psr\Http\Message\StreamInterface $value ) | ||
$value | string | resource | Psr\Http\Message\StreamInterface | The bytes value. |
public __toString ( ) : string | ||
Результат | string |
public formatAsString ( ) : string | ||
Результат | string |
public get ( ) : Psr\Http\Message\StreamInterface | ||
Результат | Psr\Http\Message\StreamInterface |