public function drop($collection)
    {
        if (!$this->collections->containsKey($collection)) {
            return false;
        }

        $this->collections->get($collection)->drop();
        $this->collections->remove($collection);

        return true;
    }
public function drop($collection)
    {
        if (!$this->collections->containsKey($collection)) {
            return false;
        }

        $this->collections->get($collection)->drop();
        $this->collections->remove($collection);

        return true;
    }
public function drop ( $ collection ) { if ( ! $ this -> collections -> containsKey ( $ collection ) ) { return false ; } $ this -> collections -> get ( $ collection ) -> drop ( ) ; $ this -> collections -> remove ( $ collection ) ; return true ; }
Drops a Collection - removing all data

@param  string $collection  The name of the Collection to drop
Drops a Collection - removing all data