PHP Class Krucas\LaravelUserEmailVerification\Console\MakeVerificationCommand

Inheritance: extends Illuminate\Console\Command, use trait Illuminate\Console\AppNamespaceDetectorTrait
Show file Open project: edvinaskrucas/laravel-user-email-verification

Protected Properties

Property Type Description
$composer Illuminate\Support\Composer
$description string The console command description.
$name string The console command name.

Public Methods

Method Description
__construct ( Illuminate\Support\Composer $composer ) Create a new settings table command instance.
fire ( ) : void Execute the console command.

Protected Methods

Method Description
appendRoutes ( ) : void Append routes file.
compileControllerStub ( ) : string Compiles the VerifyController stub.
createMigrations ( ) : void Create migrations.
createUsersMigration ( ) : string Create a base migration file for the users table.
createUsersVerificationsMigration ( ) : string Create a base migration file for the verifications table.

Method Details

__construct() public method

Create a new settings table command instance.
public __construct ( Illuminate\Support\Composer $composer )
$composer Illuminate\Support\Composer

appendRoutes() protected method

Append routes file.
protected appendRoutes ( ) : void
return void

compileControllerStub() protected method

Compiles the VerifyController stub.
protected compileControllerStub ( ) : string
return string

createMigrations() protected method

Create migrations.
protected createMigrations ( ) : void
return void

createUsersMigration() protected method

Create a base migration file for the users table.
protected createUsersMigration ( ) : string
return string

createUsersVerificationsMigration() protected method

Create a base migration file for the verifications table.

fire() public method

Execute the console command.
public fire ( ) : void
return void

Property Details

$composer protected property

protected Composer,Illuminate\Support $composer
return Illuminate\Support\Composer

$description protected property

The console command description.
protected string $description
return string

$name protected property

The console command name.
protected string $name
return string