TripletApi
extends Bioapi
in package
implements
TripletApiAdapter
Class TripletApi
Tags
Table of Contents
Interfaces
- TripletApiAdapter
- Class TripletApi
Properties
- $apiKey : string|null
- $bioapiClient : Client
- $serializer : Serializer
Methods
- __construct() : mixed
- Bioapi constructor.
- getTriplets() : array<string|int, mixed>
- Gets the list of objects from Api
- GetTripletsArray() : array<string|int, mixed>
- Gets a list as array
Properties
$apiKey
protected
string|null
$apiKey
= null
$bioapiClient
protected
Client
$bioapiClient
$serializer
protected
Serializer
$serializer
= null
Methods
__construct()
Bioapi constructor.
public
__construct(Client $bioapiClient, Serializer $serializer[, string $apiKey = null ]) : mixed
Parameters
- $bioapiClient : Client
- $serializer : Serializer
- $apiKey : string = null
getTriplets()
Gets the list of objects from Api
public
getTriplets() : array<string|int, mixed>
Return values
array<string|int, mixed>GetTripletsArray()
Gets a list as array
public
static GetTripletsArray(array<string|int, mixed> $aTripletList) : array<string|int, mixed>
Parameters
- $aTripletList : array<string|int, mixed>