1 | <?php |
||
8 | class DropTableCommand extends Command |
||
9 | { |
||
10 | private $table; |
||
11 | private $cascade = false; |
||
12 | |||
13 | /** |
||
14 | * Sets a table. |
||
15 | * |
||
16 | * @param Table $table The table instance. |
||
17 | * |
||
18 | * @return DropTableCommand |
||
19 | */ |
||
20 | public function setTable(Table $table) |
||
26 | |||
27 | /** |
||
28 | * Drop table cascade. |
||
29 | * |
||
30 | * @return DropTableCommand |
||
31 | */ |
||
32 | public function cascade() |
||
38 | |||
39 | /** |
||
40 | * {@inheritdoc} |
||
41 | */ |
||
42 | public function getSql() |
||
52 | |||
53 | /** |
||
54 | * {@inheritdoc} |
||
55 | */ |
||
56 | protected function preExecute() |
||
60 | } |
||
61 |