• Jeremy Mikola's avatar
    PHPLIB-215: Accessor method for GridFS stream file document · 57b40124
    Jeremy Mikola authored
    This adds Bucket::getFileDocumentForStream() and Bucket::getFileIdForStream() methods, the latter of which was renamed from getIdFromStream().
    
    Additionally, this replaces the getId() method in both internal stream classes with a getFile() method. The debug output for ReadableStream has also been simplified to include the entire file document instead of ID, chunkSize, and length.
    57b40124
Name
Last commit
Last update
..
Exception Loading commit data...
Bucket.php Loading commit data...
CollectionWrapper.php Loading commit data...
ReadableStream.php Loading commit data...
StreamWrapper.php Loading commit data...
WritableStream.php Loading commit data...