DiseaseAreaReport
extends Resource
in package
implements
ResourceInterface
A DiseaseAreaReport object as returned by the Travel Restrictions API.
Tags
Interfaces, Classes, Traits and Enums
Table of Contents
- $area : object|null
- $areaAccessRestriction : object|null
- $areaPolicy : object|null
- $areaRestrictions : array<string|int, mixed>|null
- $areaVaccinated : array<string|int, mixed>|null
- $dataSources : object|null
- $diseaseCases : object|null
- $diseaseInfection : object|null
- $diseaseRiskLevel : string|null
- $hotspots : string|null
- $relatedArea : array<string|int, mixed>|null
- $response : Response|null
- $subAreas : array<string|int, mixed>|null
- $summary : string|null
- $type : string|null
- __set() : void
- __toString() : string
- fromArray() : array<string|int, mixed>
- fromObject() : object
- getArea() : Area|null
- getAreaAccessRestriction() : AreaAccessRestriction|null
- getAreaPolicy() : AreaPolicy|null
- getAreaRestrictions() : array<string|int, AreaRestriction>|null
- getAreaVaccinated() : array<string|int, AreaVaccinated>|null
- getDataSources() : DiseaseDataSources|null
- getDiseaseCases() : DiseaseCase|null
- getDiseaseInfection() : DiseaseInfection|null
- getDiseaseRiskLevel() : string|null
- getHotspots() : string|null
- getRelatedArea() : array<string|int, Link>|null
- getResponse() : Response|null
- getSubAreas() : array<string|int, mixed>|null
- getSummary() : string|null
- getType() : string|null
- toArray() : array<string|int, mixed>
- For fitting into the Laravel framework Transform the resource into an array.
- toResourceArray() : array<string|int, mixed>
- toResourceObject() : object
- toString() : string
Properties
$area
private
object|null
$area
= null
$areaAccessRestriction
private
object|null
$areaAccessRestriction
= null
$areaPolicy
private
object|null
$areaPolicy
= null
$areaRestrictions
private
array<string|int, mixed>|null
$areaRestrictions
= null
$areaVaccinated
private
array<string|int, mixed>|null
$areaVaccinated
= null
$dataSources
private
object|null
$dataSources
= null
$diseaseCases
private
object|null
$diseaseCases
= null
$diseaseInfection
private
object|null
$diseaseInfection
= null
$diseaseRiskLevel
private
string|null
$diseaseRiskLevel
= null
$hotspots
private
string|null
$hotspots
= null
$relatedArea
private
array<string|int, mixed>|null
$relatedArea
= null
$response
private
Response|null
$response
= null
$subAreas
private
array<string|int, mixed>|null
$subAreas
= null
$summary
private
string|null
$summary
= null
$type
private
string|null
$type
= null
Methods
__set()
public
__set(mixed $name, mixed $value) : void
Parameters
- $name : mixed
- $value : mixed
Return values
void —__toString()
public
__toString() : string
Return values
string —fromArray()
public
static fromArray(Response $response, string $class) : array<string|int, mixed>
Parameters
- $response : Response
- $class : string
Return values
array<string|int, mixed> —fromObject()
public
static fromObject(Response $response, string $class) : object
Parameters
- $response : Response
- $class : string
Return values
object —getArea()
public
getArea() : Area|null
Return values
Area|null —getAreaAccessRestriction()
public
getAreaAccessRestriction() : AreaAccessRestriction|null
Return values
AreaAccessRestriction|null —getAreaPolicy()
public
getAreaPolicy() : AreaPolicy|null
Return values
AreaPolicy|null —getAreaRestrictions()
public
getAreaRestrictions() : array<string|int, AreaRestriction>|null
Return values
array<string|int, AreaRestriction>|null —getAreaVaccinated()
public
getAreaVaccinated() : array<string|int, AreaVaccinated>|null
Return values
array<string|int, AreaVaccinated>|null —getDataSources()
public
getDataSources() : DiseaseDataSources|null
Return values
DiseaseDataSources|null —getDiseaseCases()
public
getDiseaseCases() : DiseaseCase|null
Return values
DiseaseCase|null —getDiseaseInfection()
public
getDiseaseInfection() : DiseaseInfection|null
Return values
DiseaseInfection|null —getDiseaseRiskLevel()
public
getDiseaseRiskLevel() : string|null
Return values
string|null —getHotspots()
public
getHotspots() : string|null
Return values
string|null —getRelatedArea()
public
getRelatedArea() : array<string|int, Link>|null
Return values
array<string|int, Link>|null —getResponse()
public
getResponse() : Response|null
Return values
Response|null —getSubAreas()
public
getSubAreas() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null —getSummary()
public
getSummary() : string|null
Return values
string|null —getType()
public
getType() : string|null
Return values
string|null —toArray()
For fitting into the Laravel framework Transform the resource into an array.
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed> —toResourceArray()
public
static toResourceArray(array<string|int, mixed> $array, string $class) : array<string|int, mixed>
Parameters
- $array : array<string|int, mixed>
- $class : string
Return values
array<string|int, mixed> —toResourceObject()
public
static toResourceObject(object $object, string $class) : object
Parameters
- $object : object
- $class : string
Return values
object —toString()
public
static toString( $array) : string