class ProjectInvitationController extends Controller

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
store(StoreProjectInvitation $request)

Adds a new invitation to the project.

Response
join(JoinProjectInvitation $request, int $id)

Join a project through an invitation.

Response
destroy(int $id)

Deletes a project invitation.

Response
showQrCode(int $id)

Get the QR code of an invitation

Details

in Controller at line 21
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

in Controller at line 15
protected RedirectResponse fuzzyRedirect()

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

Return Value

RedirectResponse

at line 38
Response store(StoreProjectInvitation $request)

Adds a new invitation to the project.

Parameters

StoreProjectInvitation $request

Return Value

Response

at line 67
Response join(JoinProjectInvitation $request, int $id)

Join a project through an invitation.

Parameters

JoinProjectInvitation $request
int $id

Return Value

Response

at line 113
Response destroy(int $id)

Deletes a project invitation.

Parameters

int $id

Return Value

Response

at line 133
Response showQrCode(int $id)

Get the QR code of an invitation

Parameters

int $id

Return Value

Response