src/Schema.php
public function drop(string $table)
    {
        $compiler = $this->connection->schemaCompiler();

        $result = $compiler->drop($table);

        $this->connection->command($result['sql'], $result['params']);

        //clear table list
        $this->tableList = null;
        unset($this->columns[strtolower($table)]);
    }
public function drop(string $table)
    {
        $compiler = $this->connection->schemaCompiler();

        $result = $compiler->drop($table);

        $this->connection->command($result['sql'], $result['params']);

        //clear table list
        $this->tableList = null;
        unset($this->columns[strtolower($table)]);
    }
public function drop ( string $ table ) { $ compiler = $ this -> connection -> schemaCompiler ( ) ; $ result = $ compiler -> drop ( $ table ) ; $ this -> connection -> command ( $ result [ 'sql' ] , $ result [ 'params' ] ) ; //clear table list $ this -> tableList = null ; unset ( $ this -> columns [ strtolower ( $ table ) ] ) ; }
Deletes a table

@param   string $table Table name
@throws \Exception
Deletes a table