public function getCollections($options = [])
    {
        $list = [];
        foreach ($this->db->listCollections($options) as $coll) {
            $list[] = $coll->getName();
        }

        return $list;
    }
public function getCollections($options = [])
    {
        $list = [];
        foreach ($this->db->listCollections($options) as $coll) {
            $list[] = $coll->getName();
        }

        return $list;
    }
public function getCollections ( $ options = [ ] ) { $ list = [ ] ; foreach ( $ this -> db -> listCollections ( $ options ) as $ coll ) { $ list [ ] = $ coll -> getName ( ) ; } return $ list ; }
Get collections list.

@param array $options
@return array
Get collections list .