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