class CreateAdminUser implements Step

Methods

__construct(ConnectionInterface $database, AdminUser $admin, string $accessToken = null)

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(ConnectionInterface $database, AdminUser $admin, string $accessToken = null)

Parameters

ConnectionInterface $database
AdminUser $admin
string $accessToken

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