[ Index ]

PHP Cross Reference of phpBB-3.2.8-deutsch

title

Body

[close]

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

(no description)

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

Defines 1 class

Stream:: (19 methods):
  factory()
  __construct()
  __destruct()
  __toString()
  getContents()
  close()
  detach()
  attach()
  getSize()
  isReadable()
  isWritable()
  isSeekable()
  eof()
  tell()
  setSize()
  seek()
  read()
  write()
  getMetadata()


Class: Stream  - X-Ref

PHP stream implementation

factory($resource = '', array $options = [])   X-Ref
Create a new stream based on the input type.

This factory accepts the same associative array of options as described
in the constructor.

param: resource|string|StreamInterface $resource Entity body data
param: array                           $options  Additional options
return: Stream

__construct($stream, $options = [])   X-Ref
This constructor accepts an associative array of options.

- size: (int) If a read stream would otherwise have an indeterminate
size, but the size is known due to foreknownledge, then you can
provide that size, in bytes.
- metadata: (array) Any additional metadata to return when the metadata
of the stream is accessed.

param: resource $stream  Stream resource to wrap.
param: array    $options Associative array of options.

__destruct()   X-Ref
Closes the stream when the destructed


__toString()   X-Ref
No description

getContents()   X-Ref
No description

close()   X-Ref
No description

detach()   X-Ref
No description

attach($stream)   X-Ref
No description

getSize()   X-Ref
No description

isReadable()   X-Ref
No description

isWritable()   X-Ref
No description

isSeekable()   X-Ref
No description

eof()   X-Ref
No description

tell()   X-Ref
No description

setSize($size)   X-Ref
No description

seek($offset, $whence = SEEK_SET)   X-Ref
No description

read($length)   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