Add Collection::getGridFSBucket() to replace selectGridFSBucket()

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Trivial - P5
    • 2.2.0
    • Affects Version/s: None
    • Component/s: GridFS
    • None
    • PHP Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      • Rename Collection::getGridFSBucket() to selectGridFSBucket()
      • Create Collection::selectGridFSBucket() to call getGridFSBucket()
      • Add deprecation warning and annotation on Collection::selectGridFSBucket()

      This ensures consistency with other drivers and the methods Database::getCollection and Client::getDatabase.

              Assignee:
              Unassigned
              Reporter:
              Jérôme Tamarelle
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: