class ConnectToDatabase implements Step

Methods

__construct(DatabaseConfig $dbConfig, callable $store)

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, callable $store)

Parameters

DatabaseConfig $dbConfig
callable $store

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 <code>StepFailed</code> exception whenever something goes wrong that should result in the entire installation being reverted.

Return Value

void

Exceptions

StepFailed