class ProjectController 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(Request$request)

Shows all projects that are accessible by the requesting user.

show(int$id)

Displays the specified project.

store(StoreProject$request)

Creates a new project.

Response
update(UpdateProject$request)

Updates the attributes of the specified project.

Response
destroy(Request$request,int$id)

Removes 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 line38
Response index(Request$request)

Shows all projects that are accessible by the requesting user.

Parameters

Request $request

Return Value

Response

at line70
Project show(int$id)

Displays the specified project.

Parameters

int $id

Return Value

Project

at line93
Project store(StoreProject$request)

Creates a new project.

Parameters

StoreProject $request

Return Value

Project

at line127
Response update(UpdateProject$request)

Updates the attributes of the specified project.

Parameters

UpdateProject $request

Return Value

Response

at line159
Response destroy(Request$request,int$id)

Removes the specified project.

Parameters

Request $request
int $id

Return Value

Response