DatedFlight
extends Resource
in package
implements
ResourceInterface
A DatedFlight object as returned by the On-Demand Flight Status API.
Tags
Interfaces, Classes, Traits and Enums
Table of Contents
- $flightDesignator : object|null
- $flightPoints : array<string|int, mixed>|null
- $legs : array<string|int, mixed>|null
- $response : Response|null
- $scheduledDepartureDate : string|null
- $segments : array<string|int, mixed>|null
- $type : string|null
- __set() : void
- __toString() : string
- fromArray() : array<string|int, mixed>
- fromObject() : object
- getFlightDesignator() : FlightDesignator|null
- getFlightPoints() : array<string|int, FlightPoint>|null
- getLegs() : array<string|int, DatedFlightLeg>|null
- getResponse() : Response|null
- getScheduledDepartureDate() : string|null
- getSegments() : array<string|int, DatedFlightSegment>|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
$flightDesignator
private
object|null
$flightDesignator
= null
$flightPoints
private
array<string|int, mixed>|null
$flightPoints
= null
$legs
private
array<string|int, mixed>|null
$legs
= null
$response
private
Response|null
$response
= null
$scheduledDepartureDate
private
string|null
$scheduledDepartureDate
= null
$segments
private
array<string|int, mixed>|null
$segments
= 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 —getFlightDesignator()
public
getFlightDesignator() : FlightDesignator|null
Return values
FlightDesignator|null —getFlightPoints()
public
getFlightPoints() : array<string|int, FlightPoint>|null
Return values
array<string|int, FlightPoint>|null —getLegs()
public
getLegs() : array<string|int, DatedFlightLeg>|null
Return values
array<string|int, DatedFlightLeg>|null —getResponse()
public
getResponse() : Response|null
Return values
Response|null —getScheduledDepartureDate()
public
getScheduledDepartureDate() : string|null
Return values
string|null —getSegments()
public
getSegments() : array<string|int, DatedFlightSegment>|null
Return values
array<string|int, DatedFlightSegment>|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