Documentation

API_Wrapper

Interface API_Wrapper

Table of Contents

Methods

fromApiInput()  : array<string|int, mixed>
Interface for interpreting api input.
toApiOutput()  : array<string|int, mixed>
Interface for interpreting api output.

Methods

fromApiInput()

Interface for interpreting api input.

public fromApiInput(array<string|int, mixed> $apiRequest) : array<string|int, mixed>
Parameters
$apiRequest : array<string|int, mixed>
Return values
array<string|int, mixed>

modified $apiRequest

toApiOutput()

Interface for interpreting api output.

public toApiOutput(array<string|int, mixed> $apiRequest, array<string|int, mixed> $result) : array<string|int, mixed>
Parameters
$apiRequest : array<string|int, mixed>
$result : array<string|int, mixed>
Return values
array<string|int, mixed>

modified $result


        
On this page

Search results