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.