MediaWiki master
MWCallbackStream Class Reference

Inherits StreamInterface.

Collaboration diagram for MWCallbackStream:

Public Member Functions

 __construct (callable $cb)
 
 write ( $string)
 

Protected Attributes

StreamInterface $stream
 

Detailed Description

Definition at line 36 of file MWCallbackStream.php.

Constructor & Destructor Documentation

◆ __construct()

MWCallbackStream::__construct ( callable $cb)

Definition at line 44 of file MWCallbackStream.php.

Member Function Documentation

◆ write()

MWCallbackStream::write ( $string)

Definition at line 49 of file MWCallbackStream.php.

Member Data Documentation

◆ $stream

StreamInterface MWCallbackStream::$stream
protected

Definition at line 42 of file MWCallbackStream.php.


The documentation for this class was generated from the following file: