Documentation

LazyStringWriterStream
in package
implements StreamInterface

FinalYes

Table of Contents

Interfaces

StreamInterface

Methods

__construct()  : mixed
__toString()  : string
close()  : void
detach()  : null
eof()  : bool
getContents()  : string
getMetadata()  : array<string|int, mixed>|null
getSize()  : int
isReadable()  : bool
isSeekable()  : bool
isWritable()  : bool
read()  : string
rewind()  : void
seek()  : void
tell()  : int
write()  : int

Methods

getMetadata()

public getMetadata([string|null $key = null ]) : array<string|int, mixed>|null
Parameters
$key : string|null = null
Return values
array<string|int, mixed>|null

seek()

public seek(int $offset[, int $whence = SEEK_SET ]) : void
Parameters
$offset : int
$whence : int = SEEK_SET
Tags
throws
BadMethodCallException
OutOfBoundsException

write()

public write(string $string) : int
Parameters
$string : string
Tags
throws
BadMethodCallException
Return values
int
On this page

Search results