Skip to main content Link Menu Expand (external link) Document Search Copy Copied

This is automatic generated document for things in Swow\Psr7\Message\StreamPlusInterface class

Interface StreamPlusInterface

Methods

Method close

public function close ( ) : void

Method detach

public function detach ( ) : (resource | null)

Method eof

public function eof ( ) : bool

Method getContents

public function getContents ( ) : string

Method getMetadata

public function getMetadata ( mixed $key ) : mixed

Method getSize

public function getSize ( ) : ?int

Method isReadable

public function isReadable ( ) : bool

Method isSeekable

public function isSeekable ( ) : bool

Method isWritable

public function isWritable ( ) : bool

Method read

public function read ( int $length ) : string

Method rewind

public function rewind ( ) : void

Method seek

public function seek ( int $offset , int $whence ) : void

Method tell

public function tell ( ) : int

Method write

public function write ( mixed $string ) : int

Copyright 2022 the Swow contributors