Свойство | Type | Description | |
---|---|---|---|
$fields | Holds all the raw field data to be used to get the correct data from any given hash. | ||
$requests | Stores the groups of requests that are grouped by static source. | ||
$results | Keep the results from the requests in $requests. |
Méthode | Description | |
---|---|---|
getDataFromHash ( string $hash ) : array | Gets the result data array from the static api by the given hash. | |
optimizeFields ( array $fields ) | Takes all the fields and optimizes them in the $requests array. | |
setStaticInfo ( |
Uses the static api to get all the static information we need that have already been optimized. |
public getDataFromHash ( string $hash ) : array | ||
$hash | string | |
Résultat | array |
public optimizeFields ( array $fields ) | ||
$fields | array |
public setStaticInfo ( |
||
$staticData | ||
Résultat | void |
protected $fields |
protected $requests |