class ProjectUserController extendsController

Traits

AuthorizesRequests
ValidatesRequests

Methods

bool
isAutomatedRequest(Request$request =null)

Determines if the request was done by an automated script (with API token or ajax).

RedirectResponse
fuzzyRedirect()

Redirects to the _redirect URL, to a route or else back.

Response
index(int$id)

Displays the users belonging to the specified project.

Response
update(UpdateProjectUser$request)

Updates the attributes of the specified user in the specified project.

Response
attach(AttachProjectUser$request)

Adds a new user to the specified project.

Response
destroy(DestroyProjectUser$request)

Removes a user form the specified project.

Details

inControllerat line21
bool isAutomatedRequest(Request$request =null)

Determines if the request was done by an automated script (with API token or ajax).

Parameters

Request $request

Return Value

bool

inControllerat line15
protectedRedirectResponse fuzzyRedirect()

Redirects to the _redirect URL, to a route or else back.

Return Value

RedirectResponse

at line41
Response index(int$id)

Displays the users belonging to the specified project.

Parameters

int $id

Return Value

Response

at line65
Response update(UpdateProjectUser$request)

Updates the attributes of the specified user in the specified project.

Parameters

UpdateProjectUser $request

Return Value

Response

at line89
Response attach(AttachProjectUser$request)

Adds a new user to the specified project.

Parameters

AttachProjectUser $request

Return Value

Response

at line111
Response destroy(DestroyProjectUser$request)

Removes a user form the specified project.

Parameters

DestroyProjectUser $request

Return Value

Response