[ Index ]

PHP Cross Reference of phpBB-3.2.8-deutsch

title

Body

[close]

/vendor/guzzlehttp/streams/src/ -> AppendStream.php (summary)

(no description)

File Size: 220 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

AppendStream:: (17 methods):
  __construct()
  __toString()
  addStream()
  getContents()
  close()
  detach()
  attach()
  tell()
  getSize()
  eof()
  seek()
  read()
  isReadable()
  isWritable()
  isSeekable()
  write()
  getMetadata()


Class: AppendStream  - X-Ref

Reads from multiple streams, one after the other.

This is a read-only stream decorator.
__construct(array $streams = [])   X-Ref

param: StreamInterface[] $streams Streams to decorate. Each stream must

__toString()   X-Ref
No description

addStream(StreamInterface $stream)   X-Ref
Add a stream to the AppendStream

param: StreamInterface $stream Stream to append. Must be readable.

getContents()   X-Ref
No description

close()   X-Ref
Closes each attached stream.

{@inheritdoc}

detach()   X-Ref
Detaches each attached stream

{@inheritdoc}

attach($stream)   X-Ref
No description

tell()   X-Ref
No description

getSize()   X-Ref
Tries to calculate the size by adding the size of each stream.

If any of the streams do not return a valid number, then the size of the
append stream cannot be determined and null is returned.

{@inheritdoc}

eof()   X-Ref
No description

seek($offset, $whence = SEEK_SET)   X-Ref
Attempts to seek to the given position. Only supports SEEK_SET.

{@inheritdoc}

read($length)   X-Ref
Reads from all of the appended streams until the length is met or EOF.

{@inheritdoc}

isReadable()   X-Ref
No description

isWritable()   X-Ref
No description

isSeekable()   X-Ref
No description

write($string)   X-Ref
No description

getMetadata($key = null)   X-Ref
No description



Generated: Tue Apr 7 19:42:26 2020 Cross-referenced by PHPXref 0.7.1