class TableCase implements ConnectionOptionsPreconditionInterface (View source)

Properties

protected InstallerOptions|null $installerOptions
protected Connection|null $connection

Methods

string
getName()

Get the precondition name.

string
getUniqueIdentifier()

Get the precondition handle.

bool
isOptional()

Is this an optional precondition?

$this
setInstallerOptions(InstallerOptions $installerOptions)

Set the installer options to be checked.

$this
setConnection(Connection $connection)

Set the connection to the database.

performCheck()

Get the precondition result.

Details

string getName()

Get the precondition name.

Return Value

string

See also

PreconditionInterface::getName

string getUniqueIdentifier()

Get the precondition handle.

Return Value

string

See also

PreconditionInterface::getUniqueIdentifier

bool isOptional()

Is this an optional precondition?

Return Value

bool

See also

PreconditionInterface::isOptional

$this setInstallerOptions(InstallerOptions $installerOptions)

Set the installer options to be checked.

Parameters

InstallerOptions $installerOptions

Return Value

$this

See also

OptionsPreconditionInterface::setInstallerOptions

$this setConnection(Connection $connection)

Set the connection to the database.

Parameters

Connection $connection

Return Value

$this

See also

ConnectionOptionsPreconditionInterface::setConnection

PreconditionResult performCheck()

Get the precondition result.