Property | Type | Description | |
---|---|---|---|
$errors | [type] | [$errors description] |
Property | Type | Description | |
---|---|---|---|
$DatabaseCreator | [type] | [$DatabaseCreator description] | |
$DvsUser | [type] | [$DvsUser description] | |
$EnvironmentFileManager | [type] | [$EnvironmentFileManager description] | |
$File | [type] | [$File description] | |
$SettingsManager | [type] | [$SettingsManager description] | |
$Validator | [type] | [$Validator description] |
Method | Description | |
---|---|---|
__construct ( |
Creats a new Install Wizard. | |
checkAssets ( ) : [type] | [checkAssets description] | |
createAdminUser ( string $email, $username, string $password ) : DvsUser | 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 | |
installAssets ( ) : [type] | [installAssets description] | |
installDevise ( ) : void | [installDevise description] | |
refreshEnvironment ( array $settings = [] ) : void | 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. | |
saveApplicationMigrationAndSeedSettings ( [type] $migrations, [type] $seeds ) : [type] | Save the migration and seed settings | |
saveApplicationNamespace ( string $appName ) : void | Saves this app name | |
saveConfigsOverride ( $value = 'no' ) : void | Save input value submitted for "configs_override" to the key "CONFIGS_OVERRIDE" in .env file | |
saveDatabase ( string $default, string $host, string $name, string $username, string $password ) | Saves the database settings for us | |
saveEnvironment ( string $env ) : void | Saves the environment for us | |
saveNewApplicationKey ( ) : void | 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. | |
validateAdminUser ( string $email, $username, string $password ) : void | Validates the admin user data for us |
Method | Description | |
---|---|---|
createDatabaseWithSettings ( array $settings ) : boolean | create the database with given settings, this will attempt to create the database with the given name. this will work for users that are using a root level access account to connect to mysql. won't work for lower level access though. | |
isValidDatabaseSettings ( array $settings ) : boolean | see if we can connect to the database with these settings |
public __construct ( |
||
$SettingsManager | ||
$EnvironmentFileManager | ||
$Framework | ||
$DatabaseCreator | ||
$DeviseInstallCommand | ||
$DevisePublishAssetsCommand | ||
$DvsUser | DvsUser | |
$DvsGroup | DvsGroup |
public createAdminUser ( string $email, $username, string $password ) : DvsUser | ||
string | ||
$password | string | |
return | DvsUser |
protected createDatabaseWithSettings ( array $settings ) : boolean | ||
$settings | array | |
return | boolean |
public installAssets ( ) : [type] | ||
return | [type] |
public installDevise ( ) : void | ||
return | void |
protected isValidDatabaseSettings ( array $settings ) : boolean | ||
$settings | array | |
return | boolean |
public refreshEnvironment ( array $settings = [] ) : void | ||
$settings | array | |
return | void |
public saveApplicationMigrationAndSeedSettings ( [type] $migrations, [type] $seeds ) : [type] | ||
$migrations | [type] | |
$seeds | [type] | |
return | [type] |
public saveApplicationNamespace ( string $appName ) : void | ||
$appName | string | |
return | void |
public saveConfigsOverride ( $value = 'no' ) : void | ||
return | void |
public saveEnvironment ( string $env ) : void | ||
$env | string | |
return | void |
public saveNewApplicationKey ( ) : void | ||
return | void |
protected [type] $DatabaseCreator | ||
return | [type] |
protected [type] $EnvironmentFileManager | ||
return | [type] |
protected [type] $SettingsManager | ||
return | [type] |