interface ConnectionOptionsPreconditionInterface implements OptionsPreconditionInterface (View source)

Interface for the checks to be performed against the connection before installing concrete5 but after the configuration has been specified.

Methods

string
getName()

Get the precondition name.

string
getUniqueIdentifier()

Get the precondition handle.

performCheck()

Get the precondition result.

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.

Details

string getName()

Get the precondition name.

Return Value

string

string getUniqueIdentifier()

Get the precondition handle.

Return Value

string

PreconditionResult performCheck()

Get the precondition result.

Return Value

PreconditionResult

bool isOptional()

Is this an optional precondition?

Return Value

bool

$this setInstallerOptions(InstallerOptions $installerOptions)

Set the installer options to be checked.

Parameters

InstallerOptions $installerOptions

Return Value

$this

$this setConnection(Connection $connection)

Set the connection to the database.

Parameters

Connection $connection

Return Value

$this