class ConnectToDatabase implements Step

Methods

__construct(DatabaseConfig $dbConfig, callable $store)

No description

string
getMessage()

<p>A one-line status message summarizing what's happening in this step.</p>

void
run()

<p>Do the work that constitutes this step.</p>

Details

__construct(DatabaseConfig $dbConfig, callable $store)

Parameters

DatabaseConfig $dbConfig
callable $store

string getMessage()

<p>A one-line status message summarizing what's happening in this step.</p>

Return Value

string

void run()

<p>Do the work that constitutes this step.</p>

<p>This method should raise a <code>StepFailed</code> exception whenever something goes wrong that should result in the entire installation being reverted.</p>

Return Value

void

Exceptions

StepFailed