public function dropCollection($coll)
    {
        if ($coll instanceof MongoCollection) {
            $coll = $coll->getName();
        }

        return TypeConverter::toLegacy($this->db->dropCollection((string) $coll));
    }
public function dropCollection($coll)
    {
        if ($coll instanceof MongoCollection) {
            $coll = $coll->getName();
        }

        return TypeConverter::toLegacy($this->db->dropCollection((string) $coll));
    }
public function dropCollection ( $ coll ) { if ( $ coll instanceof MongoCollection ) { $ coll = $ coll -> getName ( ) ; } return TypeConverter :: toLegacy ( $ this -> db -> dropCollection ( ( string ) $ coll ) ) ; }
Drops a collection

@link http://www.php.net/manual/en/mongodb.dropcollection.php
@param MongoCollection|string $coll MongoCollection or name of collection to drop.
@return array Returns the database response.

@deprecated Use MongoCollection::drop() instead.
Drops a collection