class MakeUserCommand extends MakeUserCommand (View source)

Traits

Properties

protected $description from  MakeUserCommand
protected $signature
protected array $options from  MakeUserCommand
protected $hidden

Methods

string
askRequired(string $question, string $field, string|null $default = null)

No description

string
validateInput(Closure $callback, string $field, array $rules, Closure|null $onError = null)

No description

array
getUserData()

No description

Authenticatable
createUser()

No description

void
sendSuccessMessage(Authenticatable $user)

No description

Guard
getAuthGuard()

No description

UserProvider
getUserProvider()

No description

string
getUserModel()

No description

int
handle()

No description

Details

protected string askRequired(string $question, string $field, string|null $default = null)

No description

Parameters

string $question
string $field
string|null $default

Return Value

string

protected string validateInput(Closure $callback, string $field, array $rules, Closure|null $onError = null)

No description

Parameters

Closure $callback
string $field
array $rules
Closure|null $onError

Return Value

string

protected array getUserData()

No description

Return Value

array

protected Authenticatable createUser()

No description

Return Value

Authenticatable

protected void sendSuccessMessage(Authenticatable $user)

No description

Parameters

Authenticatable $user

Return Value

void

protected Guard getAuthGuard()

No description

Return Value

Guard

protected UserProvider getUserProvider()

No description

Return Value

UserProvider

protected string getUserModel()

No description

Return Value

string

int handle()

No description

Return Value

int