Documentation

Olc
in package

AbstractYes

Table of Contents

Methods

create()  : OlcInstance
Creates a new OLC instance.

Methods

create()

Creates a new OLC instance.

public final static create(string $apiKey[, string|null $version = null ][, string|null $endpoint = null ]) : OlcInstance
Parameters
$apiKey : string

The API key to use.

$version : string|null = null

The version to use. If not set, the default version will be used. e.g. "v1" or "v2"

$endpoint : string|null = null

The endpoint to use. If not set, the default endpoint will be used. e.g. "https://api.openletterconnect.com"

Return values
OlcInstance

The OLC instance.


        
On this page

Search results