Lines Matching refs:stream
16 $stream = Stream::factory('foo');
17 $handle = GuzzleStreamWrapper::getResource($stream);
59 $this->assertSame('foobar', (string) $stream);
65 $stream = $this->getMockBuilder('GuzzleHttp\Stream\StreamInterface')
67 $stream->expects($this->once())
70 $stream->expects($this->once())
73 GuzzleStreamWrapper::getResource($stream);
85 $stream = $this->getMockBuilder('GuzzleHttp\Stream\StreamInterface')
87 $stream->expects($this->once())
90 $stream->expects($this->once())
93 $r = GuzzleStreamWrapper::getResource($stream);