PtpController
class PtpController extends Controller
Controller used for creating a PTP Job Chain
Traits
AuthorizesRequests
ValidatesRequests
Methods
bool
isAutomatedRequest(Request $request = null)
Determines if the request was done by an automated script (with API token or ajax).
from
Controller
RedirectResponse
fuzzyRedirect()
Redirects to the _redirect URL, to a route or else back.
from
Controller
void
store(Request $request, int $volumeId)
Generate Point to Polygon Job for the specified volume
string
setUniquePtpJob(Volume $volume)
Assign UUID to a volume for the PTP job so that only one job is run per volume at a time.
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).
in
Controller at line 15
protected RedirectResponse
fuzzyRedirect()
Redirects to the _redirect URL, to a route or else back.
at line 35
void
store(Request $request, int $volumeId)
Generate Point to Polygon Job for the specified volume
at line 79
protected string
setUniquePtpJob(Volume $volume)
Assign UUID to a volume for the PTP job so that only one job is run per volume at a time.