Documentation

StreamDecoratorTrait

Trait StreamDecoratorTrait

Table of Contents

Properties

$stream  : StreamInterface

Methods

__destruct()  : void
__toString()  : string
{@inheritdoc}
close()  : void
{@inheritdoc}
detach()  : mixed
{@inheritdoc}
eof()  : bool
{@inheritdoc}
getContents()  : string
{@inheritdoc}
getMetadata()  : mixed
{@inheritdoc}
getSize()  : int|null
{@inheritdoc}
isReadable()  : bool
{@inheritdoc}
isSeekable()  : bool
{@inheritdoc}
isWritable()  : bool
{@inheritdoc}
read()  : string
{@inheritdoc}
rewind()  : void
{@inheritdoc}
seek()  : void
{@inheritdoc}
tell()  : int
{@inheritdoc}
write()  : int
{@inheritdoc}

Properties

Methods

getMetadata()

{@inheritdoc}

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

read()

{@inheritdoc}

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

seek()

{@inheritdoc}

public seek(mixed $offset[, mixed $whence = SEEK_SET ]) : void
Parameters
$offset : mixed
$whence : mixed = SEEK_SET

write()

{@inheritdoc}

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

        
On this page

Search results