ImpersonatesUsers
trait ImpersonatesUsers (View source)
Methods
$this
actingAs(
Authenticatable $user,
string|null $driver = null)
Set the currently logged in user for the application.
void
be(
Authenticatable $user,
string|null $driver = null)
Set the currently logged in user for the application.
Details
at line line 16
$this
actingAs(
Authenticatable $user,
string|null $driver = null)
Set the currently logged in user for the application.
at line line 30
void
be(
Authenticatable $user,
string|null $driver = null)
Set the currently logged in user for the application.