Lines Matching refs:handle
17 $handle = GuzzleStreamWrapper::getResource($stream);
18 $this->assertSame('foo', fread($handle, 3));
19 $this->assertSame(3, ftell($handle));
20 $this->assertSame(3, fwrite($handle, 'bar'));
21 $this->assertSame(0, fseek($handle, 0));
22 $this->assertSame('foobar', fread($handle, 6));
23 $this->assertEmpty(fread($handle, 1));
24 $this->assertTrue(feof($handle));
55 ], fstat($handle));
58 $this->assertTrue(fclose($handle));