yii\mongodb\file\StreamWrapper::stream_eof PHP Method

stream_eof() public method

This method is called in response to feof().
See also: feof()
public stream_eof ( ) : boolean
return 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;
    }