class Installer (View source)

Constants

DEFAULT_STARTING_POINT

The default starting point handle.

Properties

protected Application $application

The application instance.

protected InstallerOptions $options

The options to be used by the installer.

Methods

__construct(Application $application, InstallerOptions $options)

Initialize the instance.

getOptions()

Get the options to be used by the installer.

$this
setOptions(InstallerOptions $value)

Set the options to be used by the installer.

createConnection()

Create a new Connection instance using the values specified in the options.

getStartingPoint(bool $fallbackToDefault)

Get the StartingPointPackage instance.

checkOptions() deprecated

No description

array|null

Details

__construct(Application $application, InstallerOptions $options)

Initialize the instance.

Parameters

Application $application

the application instance

InstallerOptions $options

the options to be used by the installer

InstallerOptions getOptions()

Get the options to be used by the installer.

Return Value

InstallerOptions

$this setOptions(InstallerOptions $value)

Set the options to be used by the installer.

Parameters

InstallerOptions $value

Return Value

$this

Connection createConnection()

Create a new Connection instance using the values specified in the options.

Return Value

Connection

Exceptions

UserMessageException

throws a UserMessageException in case of problems

StartingPointPackage getStartingPoint(bool $fallbackToDefault)

Get the StartingPointPackage instance.

Parameters

bool $fallbackToDefault

Fallback to the default one if the starting point handle is not defined?

Return Value

StartingPointPackage

Exceptions

UserMessageException

checkOptions() deprecated

deprecated Use the OptionsPreconditionInterface preconditions

No description

private array|null getDefaultConnectionConfiguration()

No description

Return Value

array|null