stream_close ()

Close a resource. This method is called in response to fclose().

All resources that were locked, or allocated, by the wrapper should be released.

Access

public

Source

Method defined in extensions/s3streamwrapper.class.php | Toggle source view (11 lines) | View on GitHub

public function stream_close()
{
    $this->position = 0;
    $this->path = null;
    $this->file_list = null;
    $this->open_file = null;
    $this->seek_position = 0;
    $this->eof = false;
    $this->buffer = null;
    $this->object_size = 0;
}

Copyright © 2010–2013 Amazon Web Services, LLC


Feedback