Documentation

ResourceSpaceProviderInstance
in package
implements ProviderInstanceInterface

FinalYes

Table of Contents

Interfaces

ProviderInstanceInterface

Properties

$baseURL  : string
$configuration  : array<string|int, mixed>
$key  : string
$name  : string
$username  : string

Methods

getName()  : string
Get Providers' instance (user friendly) name
parseRaw()  : self|string
toArray()  : array<string|int, mixed>
Convert to array
__construct()  : mixed

Properties

Methods

parseRaw()

public static parseRaw(string $data) : self|string
Parameters
$data : string

Raw data to be parsed to obtain the Providers' details

Return values
self|string

Return a ProviderInstanceInterface or an error. The error can be either an actual error message, or a language key (eg. image_banks_error_resourcespace_invalid_instance_cfg).

__construct()

private __construct(string $name, array<string|int, mixed> $details) : mixed
Parameters
$name : string
$details : array<string|int, mixed>
On this page

Search results