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

stream_flush() public method

This method is called in response to fflush() and when the stream is being closed while any unflushed data has been written to it before.
See also: fflush()
public stream_flush ( ) : boolean
return boolean whether cached data was successfully stored.
    public function stream_flush()
    {
        return true;
    }