PlatformReleaseCheckCommand
extends Command
in package
Validates a release manifest and tenant schema compatibility for deploy gates.
Table of Contents
Constants
- PLATFORM_CONNECTION : mixed = 'platform'
Methods
- defaultName() : string
- execute() : int
- buildOptionParser() : ConsoleOptionParser
- platform() : Connection
- Get the platform metadata connection.
- tenantRows() : array<int, array{slug: string, schema_version: string|null}>
Constants
PLATFORM_CONNECTION
private
mixed
PLATFORM_CONNECTION
= 'platform'
Methods
defaultName()
public
static defaultName() : string
Tags
Return values
stringexecute()
public
execute(Arguments $args, ConsoleIo $io) : int
Parameters
- $args : Arguments
- $io : ConsoleIo
Tags
Return values
intbuildOptionParser()
protected
buildOptionParser(ConsoleOptionParser $parser) : ConsoleOptionParser
Parameters
- $parser : ConsoleOptionParser
Tags
Return values
ConsoleOptionParserplatform()
Get the platform metadata connection.
private
platform() : Connection
Return values
ConnectiontenantRows()
private
tenantRows(Arguments $args) : array<int, array{slug: string, schema_version: string|null}>
Parameters
- $args : Arguments