Documentation

ApiV4Service
in package
implements ServiceInterface

Class ApiV4Service

Tags
author

Patrick Rainer rainer@datacycle.at

Table of Contents

Interfaces

ServiceInterface
Interface ServiceInterface

Properties

$config  : array<string|int, mixed>
$endpointResolver  : EndpointResolver
$logger  : LoggerInterface

Methods

__construct()  : mixed
executeQuery()  : Result
executes a query and return the Result model
getQueryBuilder()  : QueryBuilderInterface
creates a query object
buildQueryParams()  : array<string|int, mixed>
build query params from args
buildRequest()  : array<string|int, mixed>
build request

Properties

$config

protected array<string|int, mixed> $config

dataCycle configuration

Methods

__construct()

public __construct(array<string|int, mixed> $args[, LoggerInterface|null $logger = null ][, EndpointResolver|null $endpointResolver = null ]) : mixed
Parameters
$args : array<string|int, mixed>
$logger : LoggerInterface|null = null
$endpointResolver : EndpointResolver|null = null

buildQueryParams()

build query params from args

private buildQueryParams([array<string|int, mixed>|null $args = [] ]) : array<string|int, mixed>
Parameters
$args : array<string|int, mixed>|null = []
Return values
array<string|int, mixed>

        
On this page

Search results