yii\mongodb\file\StreamWrapper::stream_eof PHP Метод

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

This method is called in response to feof().
См. также: feof()
public stream_eof ( ) : boolean
Результат boolean `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()
    {
        if ($this->download !== null) {
            return $this->pointerOffset >= $this->download->getSize();
        }
        return true;
    }