public stream_eof ( ) : boolean | ||
return | boolean | Should return TRUE if the read/write position is at the end of the stream and if no more data is available to be read, or FALSE otherwise. |
public function stream_eof()
{
return $this->streamWrapper->isAtEof();
}
/** * @test */ public function stream_eofTest() { $this->mockStreamWrapper->expects($this->once())->method('isAtEof')->will($this->returnValue(true)); $this->assertTrue($this->streamWrapperAdapter->stream_eof()); }