• 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
docs Loading commit data...
src Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README.md Loading commit data...
RELEASE-0.1.0 Loading commit data...
RELEASE-0.2.0 Loading commit data...
RELEASE-1.0 Loading commit data...
apigen.neon Loading commit data...
composer.json Loading commit data...
mkdocs.yml Loading commit data...
phpunit.xml.dist Loading commit data...