\Amelaye\BioPHP\ApiProteinReductionApi

Class ProteinReductionApi

Summary

Methods
Properties
Constants
__construct()
getReductions()
GetReductionsArray()
GetAlphabetInfos()
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

getReductions()

getReductions() : array

Gets the list of objects from Api

Returns

array

GetReductionsArray()

GetReductionsArray(array  $aReductions) : array

Gets a list as array

Parameters

array $aReductions

Returns

array

GetAlphabetInfos()

GetAlphabetInfos(array  $aReductions, string  $type) : array

Parameters

array $aReductions
string $type

Returns

array