Aliases
in package
implements
ArrayAccess
Class Aliases
Tags
Table of Contents
Interfaces
- ArrayAccess
Constants
- RESOURCE_PATH = '/aliases'
Properties
Methods
- __construct() : mixed
- Aliases constructor.
- __get() : mixed
- endPointPath() : string
- offsetExists() : bool
- offsetGet() : Alias
- offsetSet() : void
- offsetUnset() : void
- retrieve() : array<string|int, mixed>
- upsert() : array<string|int, mixed>
Constants
RESOURCE_PATH
public
mixed
RESOURCE_PATH
= '/aliases'
Properties
$aliases
private
array<string|int, mixed>
$aliases
= []
$apiCall
private
ApiCall
$apiCall
Methods
__construct()
Aliases constructor.
public
__construct(ApiCall $apiCall) : mixed
Parameters
- $apiCall : ApiCall
__get()
public
__get(mixed $name) : mixed
Parameters
- $name : mixed
endPointPath()
public
endPointPath(string $aliasName) : string
Parameters
- $aliasName : string
Return values
stringoffsetExists()
public
offsetExists(mixed $offset) : bool
Parameters
- $offset : mixed
Tags
Return values
booloffsetGet()
public
offsetGet(mixed $offset) : Alias
Parameters
- $offset : mixed
Tags
Return values
AliasoffsetSet()
public
offsetSet(mixed $offset, mixed $value) : void
Parameters
- $offset : mixed
- $value : mixed
Tags
offsetUnset()
public
offsetUnset(mixed $offset) : void
Parameters
- $offset : mixed
Tags
retrieve()
public
retrieve() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>upsert()
public
upsert(string $name, array<string|int, mixed> $mapping) : array<string|int, mixed>
Parameters
- $name : string
- $mapping : array<string|int, mixed>