class InstallWizard

Properties

[type] $errors [$errors description]

Methods

__construct(SettingsManager $SettingsManager, EnvironmentFileManager $EnvironmentFileManager, Framework $Framework, DatabaseCreator $DatabaseCreator, DeviseInstallCommand $DeviseInstallCommand, DevisePublishAssetsCommand $DevisePublishAssetsCommand, DvsUser $DvsUser, DvsGroup $DvsGroup)

Creats a new Install Wizard.

void
validateAdminUser($email, $username, $password)

Validates the admin user data for us

DvsUser
createAdminUser($email, $username, $password)

Create the admin user for the installer. This will create the user with the email and password given and then it will also put that user into the admin group

void
saveConfigsOverride($value = 'no')

Save input value submitted for "configsoverride" to the key "CONFIGSOVERRIDE" in .env file

void
saveNewApplicationKey()

Saves the new application key if there isn't already one set We need this set early on so it doesn't screw up our tokens and password hashes.

void
saveApplicationNamespace(string $appName)

Saves this app name

void
saveEnvironment(string $env)

Saves the environment for us

[type]
saveApplicationMigrationAndSeedSettings([type] $migrations, [type] $seeds)

Save the migration and seed settings

saveDatabase(string $default, string $host, string $name, string $username, string $password)

Saves the database settings for us

void
installDevise()

[installDevise description]

[type]
checkAssets()

[checkAssets description]

[type]
installAssets()

[installAssets description]

void
refreshEnvironment(array $settings = array())

Reloads env settings and also updates the configurations in Laravel for anything that might change during the install process. Things like app.key, app.debug, database stuff, mail stuff, cache and session settings.

Details

at line 62
__construct(SettingsManager $SettingsManager, EnvironmentFileManager $EnvironmentFileManager, Framework $Framework, DatabaseCreator $DatabaseCreator, DeviseInstallCommand $DeviseInstallCommand, DevisePublishAssetsCommand $DevisePublishAssetsCommand, DvsUser $DvsUser, DvsGroup $DvsGroup)

Creats a new Install Wizard.

..

Parameters

SettingsManager $SettingsManager
EnvironmentFileManager $EnvironmentFileManager
Framework $Framework
DatabaseCreator $DatabaseCreator
DeviseInstallCommand $DeviseInstallCommand
DevisePublishAssetsCommand $DevisePublishAssetsCommand
DvsUser $DvsUser
DvsGroup $DvsGroup

at line 93
void validateAdminUser($email, $username, $password)

Validates the admin user data for us

Parameters

$email
$username
$password

Return Value

void

at line 119
DvsUser createAdminUser($email, $username, $password)

Create the admin user for the installer. This will create the user with the email and password given and then it will also put that user into the admin group

Parameters

$email
$username
$password

Return Value

DvsUser

at line 147
void saveConfigsOverride($value = 'no')

Save input value submitted for "configsoverride" to the key "CONFIGSOVERRIDE" in .env file

Parameters

$value

Return Value

void

at line 160
void saveNewApplicationKey()

Saves the new application key if there isn't already one set We need this set early on so it doesn't screw up our tokens and password hashes.

Return Value

void

at line 176
void saveApplicationNamespace(string $appName)

Saves this app name

Parameters

string $appName

Return Value

void

at line 188
void saveEnvironment(string $env)

Saves the environment for us

Parameters

string $env

Return Value

void

at line 208
[type] saveApplicationMigrationAndSeedSettings([type] $migrations, [type] $seeds)

Save the migration and seed settings

Parameters

[type] $migrations
[type] $seeds

Return Value

[type]

at line 226
saveDatabase(string $default, string $host, string $name, string $username, string $password)

Saves the database settings for us

Parameters

string $default
string $host
string $name
string $username
string $password

at line 262
void installDevise()

[installDevise description]

Return Value

void

at line 273
[type] checkAssets()

[checkAssets description]

Return Value

[type]

at line 288
[type] installAssets()

[installAssets description]

Return Value

[type]

at line 303
void refreshEnvironment(array $settings = array())

Reloads env settings and also updates the configurations in Laravel for anything that might change during the install process. Things like app.key, app.debug, database stuff, mail stuff, cache and session settings.

.. this is a hack for people who use php artisan serve ... no one else really needs this hackery...

Parameters

array $settings

Return Value

void