class ConnectToDatabase implements Step

Methods

__construct(DatabaseConfig $dbConfig, Closure $store, string $basePath)

No description

string
getMessage()

A one-line status message summarizing what's happening in this step.

void
run()

Do the work that constitutes this step.

Details

__construct(DatabaseConfig $dbConfig, Closure $store, string $basePath)

Parameters

DatabaseConfig $dbConfig
Closure $store
string $basePath

string getMessage()

A one-line status message summarizing what's happening in this step.

Return Value

string

void run()

Do the work that constitutes this step.

This method should raise a `StepFailed` exception whenever something goes wrong that should result in the entire installation being reverted.

Return Value

void

Exceptions

StepFailed