class ImpersonateController extends Controller (View source)

Traits

AuthorizesRequests
DispatchesJobs
ValidatesRequests

Properties

protected AuthManager $authManager

Methods

__construct(AuthManager $authManager)

No description

void
removeMiddleware(string $middleware)

Attempts to unset the given middleware.

RedirectResponse
impersonate(int $id, UserRepository $users)

No description

RedirectResponse
stopImpersonate()

No description

Details

__construct(AuthManager $authManager)

No description

Parameters

AuthManager $authManager

void removeMiddleware(string $middleware)

Attempts to unset the given middleware.

Parameters

string $middleware

Return Value

void

RedirectResponse impersonate(int $id, UserRepository $users)

No description

Parameters

int $id
UserRepository $users

Return Value

RedirectResponse

RedirectResponse stopImpersonate()

No description

Return Value

RedirectResponse