Neos\Flow\ResourceManagement\Streams\StreamWrapperAdapter::stream_eof PHP Метод

stream_eof() публичный Метод

This method is called in response to feof().
public stream_eof ( ) : boolean
Результат 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();
    }

Usage Example

 /**
  * @test
  */
 public function stream_eofTest()
 {
     $this->mockStreamWrapper->expects($this->once())->method('isAtEof')->will($this->returnValue(true));
     $this->assertTrue($this->streamWrapperAdapter->stream_eof());
 }