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

Shows all volumes the user has access to.

show(Request $request, int $id)

Displays the specified volume.

Response
update(UpdateVolume $request)

Updates the attributes of the specified volume.

Response
clone(CloneVolume $request)

Clones volume to destination project.

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

Shows all volumes the user has access to.

Parameters

Request $request

Return Value

Response

at line 98
Volume show(Request $request, int $id)

Displays the specified volume.

Parameters

Request $request
int $id

Return Value

Volume

at line 128
Response update(UpdateVolume $request)

Updates the attributes of the specified volume.

Parameters

UpdateVolume $request

Return Value

Response

at line 184
Response clone(CloneVolume $request)

Clones volume to destination project.

Parameters

CloneVolume $request

Return Value

Response