[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

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

Stream decorator trait

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

Defines 19 functions

  __construct()
  __get()
  __toString()
  getContents()
  __call()
  close()
  getMetadata()
  detach()
  attach()
  getSize()
  eof()
  tell()
  isReadable()
  isWritable()
  isSeekable()
  seek()
  read()
  write()
  createStream()

Functions
Functions that are not part of a class:

__construct(StreamInterface $stream)   X-Ref

param: StreamInterface $stream Stream to decorate

__get($name)   X-Ref
Magic method used to create a new stream if streams are not added in
the constructor of a decorator (e.g., LazyOpenStream).


__toString()   X-Ref
No description

getContents()   X-Ref
No description

__call($method, array $args)   X-Ref
Allow decorators to implement custom methods

param: string $method Missing method name
param: array  $args   Method arguments
return: mixed

close()   X-Ref
No description

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

detach()   X-Ref
No description

attach($stream)   X-Ref
No description

getSize()   X-Ref
No description

eof()   X-Ref
No description

tell()   X-Ref
No description

isReadable()   X-Ref
No description

isWritable()   X-Ref
No description

isSeekable()   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

createStream()   X-Ref
Implement in subclasses to dynamically create streams when requested.

return: StreamInterface



Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1