You are here

public function AppendStream::write in Auth0 Single Sign On 8.2

Write data to the stream.

Parameters

string $string The string that is to be written.:

Return value

int Returns the number of bytes written to the stream.

Throws

\RuntimeException on failure.

Overrides StreamInterface::write

File

vendor/guzzlehttp/psr7/src/AppendStream.php, line 232

Class

AppendStream
Reads from multiple streams, one after the other.

Namespace

GuzzleHttp\Psr7

Code

public function write($string) {
  throw new \RuntimeException('Cannot write to an AppendStream');
}