bootstrap file
```php
<?php
...
$container['phpmig.connection'] = new PDO(...);
...
$container['phpmig.sets'] = array(
    'vertical' => array(
        'adapter' => ...,
        'migrations_path' => ...
    )
);
?>

AbstractCommand.php
```php
if (isset($container['phpmig.sets'][$set])) {
    $container['phpmig.currentSet'] = $container['phpmig.connection'];
    if (isset($container['phpmig.sets'][$set]['connection'])) {
        $container['phpmig.currentSet'] = $container['phpmig.sets'][$set]['connection'];
    }
}
```

Will that be OK?