class DisableTwoFactorAuthentication

Traits

Methods

void
dispatchIfListening(string $eventClass, Closure $event)

Dispatch the given event if listeners are registered.

void
__invoke(Authenticatable&Model $user)

Disable two factor authentication for the user.

Details

in DispatchesEvents at line 16
protected void dispatchIfListening(string $eventClass, Closure $event)

Dispatch the given event if listeners are registered.

Parameters

string $eventClass
Closure $event

Return Value

void

at line 20
void __invoke(Authenticatable&Model $user)

Disable two factor authentication for the user.

Parameters

Authenticatable&Model $user

Return Value

void