MigrationContext
Everything a plugin migration may touch while running. The connection is deliberately typed `object`: the host injects its real database handle (e.g. a Doctrine DBAL Connection) and the migration casts to what it expects — the package itself never depends on any driver.
MigrationContext::__construct()
public function __construct(object $connection, Psr\Log\LoggerInterface $logger):Parameters
| Name | Type | Description |
|---|---|---|
| $connection | object | |
| $logger | Psr\Log\LoggerInterface |