Documentation

WorkflowEndpoint extends BaseEndpoint
in package

Workflow router endpoint substitute.

Table of Contents

Properties

$settings  : MindeeApi|MindeeWorkflowApi

Methods

__construct()  : mixed
executeWorkflowRequestPost()  : array<string|int, mixed>
Sends a document for synchronous enqueuing.
setFinalCurlOpts()  : array<string|int, mixed>
initCurlSessionGet()  : array<string|int, mixed>
Starts a CURL session, using GET.
initCurlSessionPost()  : array<string|int, mixed>
Starts a CURL session using POST.

Properties

Methods

executeWorkflowRequestPost()

Sends a document for synchronous enqueuing.

public executeWorkflowRequestPost(InputSource $fileCurl, WorkflowOptions $workflowOptions) : array<string|int, mixed>
Parameters
$fileCurl : InputSource

File to upload.

$workflowOptions : WorkflowOptions

Workflow options.

Return values
array<string|int, mixed>

setFinalCurlOpts()

public setFinalCurlOpts(resource $ch, string $suffix, array<string|int, mixed>|null $postFields[, string|null $workflowId = null ]) : array<string|int, mixed>
Parameters
$ch : resource

Curl Channel.

$suffix : string

Optional suffix for the url call.

$postFields : array<string|int, mixed>|null

Post fields.

$workflowId : string|null = null

Optional ID of the workflow.

Return values
array<string|int, mixed>

initCurlSessionGet()

Starts a CURL session, using GET.

protected initCurlSessionGet(string $queueId) : array<string|int, mixed>
Parameters
$queueId : string

ID of the queue to poll.

Return values
array<string|int, mixed>

        
On this page

Search results