class DeviseInstallCommand extends Command

Properties

InstallWizard $wizard The Devise install wizard
DeviseInstallCommand $io This input output object for writing to console
Mockery $envMock Mocks the environment

Methods

__construct(Container $app)

Setup the application container as we'll need this for running migrations.

handle()

Run the package migrations.

void
runInstallCommands()

Runs the install commands for migrations, seeds, publishing assets and configs

void
changeDatabaseConfigFile()

Changes the default out of the box Laravel database config to include other env() settings that we will use in Devise such as 'default' and we also update the sqlite driver stuff

void
changeEmailConfigFile()

Changes the email config file out of the box to include devise as the password reminder view instead of the other view

Details

at line 43
__construct(Container $app)

Setup the application container as we'll need this for running migrations.

Parameters

Container $app

at line 59
handle()

Run the package migrations.

at line 83
void runInstallCommands()

Runs the install commands for migrations, seeds, publishing assets and configs

Return Value

void

at line 118
void changeDatabaseConfigFile()

Changes the default out of the box Laravel database config to include other env() settings that we will use in Devise such as 'default' and we also update the sqlite driver stuff

Return Value

void

at line 134
void changeEmailConfigFile()

Changes the email config file out of the box to include devise as the password reminder view instead of the other view

Return Value

void