\Amelaye\BioPHP\ApiTripletSpecieApi

Class TripletSpecieApi

Summary

Methods
Properties
Constants
__construct()
getTriplets()
GetTripletsGroups()
GetTripletsArray()
GetTripletsCombinations()
GetSpeciesNames()
No public properties found
No constants found
No protected methods found
$bioapiClient
$serializer
$apiKey
N/A
No private methods found
No private properties found
N/A

Properties

$bioapiClient

$bioapiClient : \GuzzleHttp\Client

Type

\GuzzleHttp\Client

$serializer

$serializer : \JMS\Serializer\Serializer

Type

\JMS\Serializer\Serializer

$apiKey

$apiKey : string|null

Type

normal

Methods

__construct()

__construct(\GuzzleHttp\Client  $bioapiClient, \JMS\Serializer\Serializer  $serializer, string  $apiKey = null) : mixed

Bioapi constructor.

Parameters

\GuzzleHttp\Client $bioapiClient
\JMS\Serializer\Serializer $serializer
string $apiKey

Returns

mixed

getTriplets()

getTriplets() : array

Gets the list of objects from Api

Returns

array

GetTripletsGroups()

GetTripletsGroups(array  $aTriplets) : array

Gets a list of groups as array

Parameters

array $aTriplets

Returns

array

GetTripletsArray()

GetTripletsArray(array  $aTriplets) : array

Gets a list as array

Parameters

array $aTriplets

Returns

array

GetTripletsCombinations()

GetTripletsCombinations(array  $aTriplets) : array

Gets a list of triplets combinations

Parameters

array $aTriplets

Returns

array

GetSpeciesNames()

GetSpeciesNames(array  $aTriplets) : array

Gets a list of species as array

Parameters

array $aTriplets

Returns

array