[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/laminas/laminas-diactoros/src/ -> Stream.php (summary)

(no description)

Copyright: https://github.com/laminas/laminas-diactoros/blob/master/COPYRIGHT.md
License: https://github.com/laminas/laminas-diactoros/blob/master/LICENSE.md New BSD License
File Size: 378 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Stream:: (19 methods):
  __construct()
  __toString()
  close()
  detach()
  attach()
  getSize()
  tell()
  eof()
  isSeekable()
  seek()
  rewind()
  isWritable()
  write()
  isReadable()
  read()
  getContents()
  getMetadata()
  setStream()
  isValidStreamResourceType()


Class: Stream  - X-Ref

Implementation of PSR HTTP streams

__construct($stream, string $mode = 'r')   X-Ref

param: string|resource $stream
param: string $mode Mode with which to open stream

__toString()   X-Ref
{@inheritdoc}


close()   X-Ref
{@inheritdoc}


detach()   X-Ref
{@inheritdoc}


attach($resource, string $mode = 'r')   X-Ref
Attach a new stream/resource to the instance.

param: string|resource $resource
param: string $mode

getSize()   X-Ref
{@inheritdoc}


tell()   X-Ref
{@inheritdoc}


eof()   X-Ref
{@inheritdoc}


isSeekable()   X-Ref
{@inheritdoc}


seek($offset, $whence = SEEK_SET)   X-Ref
{@inheritdoc}


rewind()   X-Ref
{@inheritdoc}


isWritable()   X-Ref
{@inheritdoc}


write($string)   X-Ref
{@inheritdoc}


isReadable()   X-Ref
{@inheritdoc}


read($length)   X-Ref
{@inheritdoc}


getContents()   X-Ref
{@inheritdoc}


getMetadata($key = null)   X-Ref
{@inheritdoc}


setStream($stream, string $mode = 'r')   X-Ref
Set the internal stream resource.

param: string|resource $stream String stream target or stream resource.
param: string $mode Resource mode for stream target.

isValidStreamResourceType($resource)   X-Ref
Determine if a resource is one of the resource types allowed to instantiate a Stream

param: resource $resource Stream resource.



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer