yxorP Documentation

AStreamDecoratorTrait

Table of Contents

__call()  : mixed
__construct()  : mixed
__get()  : mixed
__toString()  : mixed
close()  : mixed
detach()  : mixed
eof()  : bool
getContents()  : string
getMetadata()  : mixed
getSize()  : int|null
isReadable()  : bool
isSeekable()  : bool
isWritable()  : bool
read()  : string
rewind()  : mixed
seek()  : mixed
tell()  : int
write()  : int
createStream()  : mixed

Methods

__call()

public __call(mixed $method, array<string|int, mixed> $args) : mixed
Parameters
$method : mixed
$args : array<string|int, mixed>
Return values
mixed

getMetadata()

public getMetadata([mixed $key = null ]) : mixed
Parameters
$key : mixed = null
Return values
mixed

read()

public read(int $length) : string
Parameters
$length : int
Return values
string

seek()

public seek(int $offset[, int $whence = SEEK_SET ]) : mixed
Parameters
$offset : int
$whence : int = SEEK_SET
Return values
mixed

write()

public write(string $string) : int
Parameters
$string : string
Return values
int

Search results