Home
last modified time | relevance | path

Searched refs:FnStream (Results 1 – 12 of 12) sorted by last modified time

/plugin/elasticsearch/vendor/ezimuel/guzzlestreams/
H A DCHANGELOG.rst56 * Added ``FnStream`` to easily decorate stream behavior with callables.
/plugin/elasticsearch/vendor/ezimuel/guzzlestreams/tests/
H A DLimitStreamTest.php5 use GuzzleHttp\Stream\FnStream; alias
120 $a = new FnStream([
H A DUtilsTest.php5 use GuzzleHttp\Stream\FnStream; alias
27 $s1 = FnStream::decorate($s1, [
54 $s2 = FnStream::decorate($s2, ['write' => function () { return 0; }]);
63 $s2 = FnStream::decorate($s2, ['write' => function () { return 0; }]);
71 $s1 = FnStream::decorate($s1, ['read' => function () { return ''; }]);
H A DAsyncReadStreamTest.php6 use GuzzleHttp\Stream\FnStream; alias
18 new AsyncReadStream(FnStream::decorate(
28 new AsyncReadStream(FnStream::decorate(
184 $this->assertInstanceOf('GuzzleHttp\Stream\FnStream', $buffer);
H A DFnStreamTest.php6 use GuzzleHttp\Stream\FnStream; alias
10 * @covers GuzzleHttp\Stream\FnStream
17 $this->expectExceptionMessage('seek() is not implemented in the FnStream');
18 (new FnStream([]))->seek(1);
23 $s = new FnStream([
36 $s = new FnStream([
50 $s = new FnStream([]);
57 $b = FnStream::decorate($a, []);
84 $b = FnStream::decorate($a, [
/plugin/elasticsearch/vendor/ezimuel/guzzlestreams/src/
H A DAsyncReadStream.php154 $buffer = FnStream::decorate($buffer, [
H A DFnStream.php10 class FnStream implements StreamInterface class
40 . '() is not implemented in the FnStream');
60 * @return FnStream
/plugin/authgooglesheets/vendor/guzzlehttp/guzzle/
H A DUPGRADING.md207 FnStream that has access to the transaction being sent. For example, when the
H A DCHANGELOG.md427 FnStream that has access to the transaction being sent. For example, when the
/plugin/authgooglesheets/vendor/guzzlehttp/psr7/src/
H A DCachingStream.php142 $target = new FnStream(['write' => 'strlen']);
H A DFnStream.php15 class FnStream implements StreamInterface class
76 * @return FnStream
/plugin/authgooglesheets/vendor/guzzlehttp/psr7/
H A DREADME.md102 ## FnStream section in Stream implementation
104 `GuzzleHttp\Psr7\FnStream`
116 $fnStream = Psr7\FnStream::decorate($stream, [