MediaWiki master
MediaWiki\Http\MWCallbackStream Class Reference

Inherits StreamInterface.

Collaboration diagram for MediaWiki\Http\MWCallbackStream:

Public Member Functions

 __construct (callable $cb)
 write (string $string)

Protected Attributes

StreamInterface $stream

Detailed Description

Definition at line 24 of file MWCallbackStream.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Http\MWCallbackStream::__construct ( callable $cb)

Definition at line 33 of file MWCallbackStream.php.

Member Function Documentation

◆ write()

MediaWiki\Http\MWCallbackStream::write ( string $string)

Definition at line 39 of file MWCallbackStream.php.

References return.

Member Data Documentation

◆ $stream

StreamInterface MediaWiki\Http\MWCallbackStream::$stream
protected

Definition at line 31 of file MWCallbackStream.php.


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