Generate a "drop table" statement for the given Schema object
public dropSchema ( CakeSchema $schema, string $table = null ) : string | ||
$schema | CakeSchema | An instance of a subclass of CakeSchema |
$table | string | Optional. If specified only the table name given will be generated. Otherwise, all tables defined in the schema are generated. |
return | string |