public function RelativeStream::write in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/zendframework/zend-diactoros/src/RelativeStream.php \Zend\Diactoros\RelativeStream::write()
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/
zendframework/ zend-diactoros/ src/ RelativeStream.php, line 132
Class
- RelativeStream
- Class RelativeStream
Namespace
Zend\DiactorosCode
public function write($string) {
return $this->decoratedStream
->write($string);
}