public function deleteTables($tables, $check_empty = false)
    {
        $tables = static::validateAsArray(
            $tables,
            ',',
            true,
            'The request contains no valid table names or properties.'
        );

        $out = [];
        foreach ($tables as $table) {
            $name = (is_array($table)) ? array_get($table, 'name') : $table;
            $this->validateSchemaAccess($name, Verbs::DELETE);
            $out[] = $this->deleteTable($name, $check_empty);
        }

        return $out;
    }
public function deleteTables($tables, $check_empty = false)
    {
        $tables = static::validateAsArray(
            $tables,
            ',',
            true,
            'The request contains no valid table names or properties.'
        );

        $out = [];
        foreach ($tables as $table) {
            $name = (is_array($table)) ? array_get($table, 'name') : $table;
            $this->validateSchemaAccess($name, Verbs::DELETE);
            $out[] = $this->deleteTable($name, $check_empty);
        }

        return $out;
    }
public function deleteTables ( $ tables , $ check_empty = false ) { $ tables = static :: validateAsArray ( $ tables , ',' , true , 'The request contains no valid table names or properties.' ) ; $ out = [ ] ; foreach ( $ tables as $ table ) { $ name = ( is_array ( $ table ) ) ? array_get ( $ table , 'name' ) : $ table ; $ this -> validateSchemaAccess ( $ name , Verbs :: DELETE ) ; $ out [ ] = $ this -> deleteTable ( $ name , $ check_empty ) ; } return $ out ; }
Delete multiple tables and all of their contents

@param array $tables
@param bool  $check_empty

@return array
@throws \Exception
Delete multiple tables and all of their contents