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

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

This method is called in response to fclose().
См. также: 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;
        }
    }