class EmptyDatabase 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

string getUniqueIdentifier()

Get the precondition handle.

Return Value

string

See also

bool isOptional()

Is this an optional precondition?

Return Value

bool

See also

$this setInstallerOptions(InstallerOptions $installerOptions)

Set the installer options to be checked.

Parameters

InstallerOptions $installerOptions

Return Value

$this

See also

$this setConnection(Connection $connection)

Set the connection to the database.

Parameters

Connection $connection

Return Value

$this

See also

PreconditionResult performCheck()

Get the precondition result.

Return Value

PreconditionResult

See also