Свойство | Тип | Описание | |
---|---|---|---|
$errors | [type] | [$errors 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] |
Метод | Описание | |
---|---|---|
__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 |
Метод | Описание | |
---|---|---|
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 checkAssets ( ) : [type] | ||
Результат | [type] |
public createAdminUser ( string $email, $username, string $password ) : DvsUser | ||
string | ||
$password | string | |
Результат | DvsUser |
protected createDatabaseWithSettings ( array $settings ) : boolean | ||
$settings | array | |
Результат | boolean |
public installAssets ( ) : [type] | ||
Результат | [type] |
public installDevise ( ) : void | ||
Результат | void |
protected isValidDatabaseSettings ( array $settings ) : boolean | ||
$settings | array | |
Результат | boolean |
public refreshEnvironment ( array $settings = [] ) : void | ||
$settings | array | |
Результат | void |
public saveApplicationMigrationAndSeedSettings ( [type] $migrations, [type] $seeds ) : [type] | ||
$migrations | [type] | |
$seeds | [type] | |
Результат | [type] |
public saveApplicationNamespace ( string $appName ) : void | ||
$appName | string | |
Результат | void |
public saveConfigsOverride ( $value = 'no' ) : void | ||
Результат | void |
public saveEnvironment ( string $env ) : void | ||
$env | string | |
Результат | void |
public saveNewApplicationKey ( ) : void | ||
Результат | void |
protected [type] $DatabaseCreator | ||
Результат | [type] |
protected [type] $EnvironmentFileManager | ||
Результат | [type] |
protected [type] $SettingsManager | ||
Результат | [type] |
protected [type] $Validator | ||
Результат | [type] |