TenantMigrationStateInspector
in package
implements
TenantMigrationStateInspectorInterface
FinalYes
Inspects migration history through an isolated tenant connection scope.
Table of Contents
Interfaces
Properties
Methods
- __construct() : mixed
- Constructor.
- inspect() : TenantMigrationState
- Inspect one tenant database against the current release migration catalog.
Properties
$catalog read-only
private
TenantMigrationCatalog
$catalog
$connectionManager read-only
private
TenantConnectionManager
$connectionManager
Methods
__construct()
Constructor.
public
__construct(TenantConnectionManager $connectionManager, TenantMigrationCatalog $catalog) : mixed
Parameters
- $connectionManager : TenantConnectionManager
- $catalog : TenantMigrationCatalog
inspect()
Inspect one tenant database against the current release migration catalog.
public
inspect(TenantMetadata $tenant) : TenantMigrationState
Parameters
- $tenant : TenantMetadata