Documentation

BaseEndpoint
in package

AbstractYes

Abstract class for endpoints.

Table of Contents

Properties

$settings  : MindeeApi|MindeeWorkflowApi

Methods

__construct()  : mixed
setFinalCurlOpts()  : array<string|int, mixed>
initCurlSessionGet()  : array<string|int, mixed>
Starts a CURL session, using GET.

Properties

Methods

setFinalCurlOpts()

public setFinalCurlOpts(resource $ch, string $suffix, array<string|int, mixed>|null $postFields) : 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.

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