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.

store(StoreProjectInvitation $request)

Adds a new invitation to the project.

RedirectResponse|null
join(JoinProjectInvitation $request, int $id)

Join a project through an invitation.

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

Adds a new invitation to the project.

Parameters

StoreProjectInvitation $request

Return Value

ProjectInvitation

at line 67
RedirectResponse|null join(JoinProjectInvitation $request, int $id)

Join a project through an invitation.

Parameters

JoinProjectInvitation $request
int $id

Return Value

RedirectResponse|null

at line 112
destroy(int $id)

Deletes a project invitation.

Parameters

int $id

at line 132
Response showQrCode(int $id)

Get the QR code of an invitation

Parameters

int $id

Return Value

Response