| 1 | <?php |
||
| 18 | class Upgrade { |
||
| 19 | |||
| 20 | /** @var IConfig */ |
||
| 21 | private $config; |
||
| 22 | |||
| 23 | /** @var ItemService */ |
||
| 24 | private $itemService; |
||
| 25 | |||
| 26 | private $appName; |
||
| 27 | /** |
||
| 28 | * @var IDBConnection |
||
| 29 | */ |
||
| 30 | private $db; |
||
| 31 | |||
| 32 | 2 | /** |
|
| 33 | * Upgrade constructor. |
||
| 34 | 2 | * @param IConfig $config |
|
| 35 | 2 | * @param $appName |
|
| 36 | 2 | */ |
|
| 37 | 2 | public function __construct(IConfig $config, ItemService $itemService, |
|
| 44 | 2 | ||
| 45 | 1 | public function upgrade() { |
|
| 54 | |||
| 55 | public function preUpgrade() { |
||
| 70 | |||
| 71 | } |
||
| 72 |