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

stream_close() public method

This method is called in response to fclose().
See also: fclose()
public stream_close ( )
    public function stream_close()
    {
        if ($this->upload !== null) {
            $this->upload->complete();
            $this->upload = null;
        }
        if ($this->download !== null) {
            $this->download = null;
        }
    }