class StorageRequestFileController extends Controller

Traits

AuthorizesRequests
ValidatesRequests

Constants

RETRY_UPLOAD

Times to retry uploading a new file to storage.

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

Store a file for a new storage request.

Response
show(Request $request, int $id)

Show a file of a storage request.

Response
destroy(DestroyStorageRequestFile $request)

Delete files of a storage request

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 52
Response store(StoreStorageRequestFile $request)

Store a file for a new storage request.

Parameters

StoreStorageRequestFile $request

Return Value

Response

at line 141
Response show(Request $request, int $id)

Show a file of a storage request.

Parameters

Request $request
int $id

Return Value

Response

at line 190
Response destroy(DestroyStorageRequestFile $request)

Delete files of a storage request

Parameters

DestroyStorageRequestFile $request

Return Value

Response