Documentation

EndpointResolver
in package

Class EndpointResolver

Tags
author

Patrick Rainer rainer@datacycle.at

Table of Contents

Constants

ALLOWED_ENDPOINT_ROUTES  = ['concepts' => 'concepts', 'concept_schemes' => 'concept_schemes', 'deleted' => 'things/deleted', 'list' => 'endpoints', 'select' => 'endpoints', 'users' => 'users', 'custom' => 'custom', 'suggest' => 'suggest', 'suggest_by_title' => 'suggest_by_title']

Properties

$endpoint  : string
$endpointId  : string

Methods

__construct()  : mixed
creates a new request.
getEndpoint()  : string
getEndpointId()  : string
reset()  : void
resolveParams()  : array<string|int, mixed>
setEndpoint()  : void
setEndpointId()  : void
buildRequestUri()  : string
resolveEndpointRoute()  : string

Constants

ALLOWED_ENDPOINT_ROUTES

private mixed ALLOWED_ENDPOINT_ROUTES = ['concepts' => 'concepts', 'concept_schemes' => 'concept_schemes', 'deleted' => 'things/deleted', 'list' => 'endpoints', 'select' => 'endpoints', 'users' => 'users', 'custom' => 'custom', 'suggest' => 'suggest', 'suggest_by_title' => 'suggest_by_title']

Properties

Methods

__construct()

creates a new request.

public __construct([array<string|int, mixed> $args = [] ]) : mixed
Parameters
$args : array<string|int, mixed> = []
Tags
throws
InvalidArgumentException

reset()

public reset(array<string|int, mixed> $args) : void
Parameters
$args : array<string|int, mixed>

setEndpoint()

public setEndpoint(string $endpoint) : void
Parameters
$endpoint : string

setEndpointId()

public setEndpointId(string $endpointId) : void
Parameters
$endpointId : string

        
On this page

Search results