1 | <?php |
||
18 | class DropOldTable implements IRepairStep { |
||
19 | |||
20 | /** @var IDBConnection */ |
||
21 | protected $connection; |
||
22 | |||
23 | /** |
||
24 | * @param IDBConnection $connection |
||
25 | */ |
||
26 | 2 | public function __construct(IDBConnection $connection) { |
|
29 | |||
30 | /** |
||
31 | * Returns the step's name |
||
32 | * |
||
33 | * @return string |
||
34 | */ |
||
35 | public function getName() { |
||
38 | |||
39 | /** |
||
40 | * Run repair step. |
||
41 | * Must throw exception on error. |
||
42 | * |
||
43 | * @throws \Exception in case of failure |
||
44 | */ |
||
45 | 2 | public function run(IOutput $output) { |
|
53 | |||
54 | } |