src/Schema.php
public function dropTable($table)
    {
        if (!$this->hasTable($table)) {
            throw new TableNotFoundException("Table $table is not exist.");
        }

        $schema = $this->getSchema();

        unset($schema[ $table ]);
        $deleteData   = $this->delete($this->path, $table);
        $deleteSchema = $this->save($this->path, $this->name, $schema);
        $this->reloadSchema();

        return $deleteSchema && $deleteData;
    }
public function dropTable($table)
    {
        if (!$this->hasTable($table)) {
            throw new TableNotFoundException("Table $table is not exist.");
        }

        $schema = $this->getSchema();

        unset($schema[ $table ]);
        $deleteData   = $this->delete($this->path, $table);
        $deleteSchema = $this->save($this->path, $this->name, $schema);
        $this->reloadSchema();

        return $deleteSchema && $deleteData;
    }
Supprime du schéma la référence de la table et son fichier de données.

@param string $table Nom de la table.

@throws TableNotFoundException
@return bool                   Si la suppression du schema et des données se son bien passé.