class PlacesResult extends GoogleMapsResult

Class PlacesResult

Properties

protected array $typeCheck
protected array $required from AbstractObject
protected array $errors from AbstractObject
protected null|string $formatted_address
protected string $name
protected Geometry $geometry
protected string $icon
protected string $id
protected PhotoCollection $photos
protected string $place_id
protected string $reference
protected string $vicinity
protected array $types
protected array $opening_hours
protected int $price_level
protected bool $permanently_closed

Methods

__construct(array|null $args = [])

AbstractObject constructor.

setArgs(array $args)

No description

bool
isFieldRequired(string $field_name)

No description

array
addError(string $error)

No description

mixed
parseFieldValue(string $field_type, string $field_value)

No description

throwErrors()

No description

string
toJson()

No description

array
toArray()

No description

string
__toString()

No description

mixed
__call($name, $arguments)

No description

bool
getPermanentlyClose()

No description

PhotoCollection
getPhotos()

No description

Geometry
getGeometry()

No description

string
getFormattedAddress()

No description

string
getName()

No description

string
getIcon()

No description

string
getId()

No description

string
getPlaceId()

No description

string
getReference()

No description

string
getVicinity()

No description

array
getTypes()

No description

array
getOpeningHours()

No description

int
getPriceLevel()

No description

float
getRating()

No description

array
getPlusCode()

No description

Details

in AbstractObject at line 43
__construct(array|null $args = [])

AbstractObject constructor.

Parameters

array|null $args

in AbstractObject at line 58
protected setArgs(array $args)

Parameters

array $args

Exceptions

Exception

in AbstractObject at line 78
protected bool isFieldRequired(string $field_name)

Parameters

string $field_name

Return Value

bool

in AbstractObject at line 89
protected array addError(string $error)

Parameters

string $error

Return Value

array

in AbstractObject at line 103
protected mixed parseFieldValue(string $field_type, string $field_value)

Parameters

string $field_type
string $field_value

Return Value

mixed

in AbstractObject at line 121
protected throwErrors()

Exceptions

Exception

in AbstractObject at line 132
string toJson()

Return Value

string

in AbstractObject at line 141
array toArray()

Return Value

array

in AbstractObject at line 159
string __toString()

Return Value

string

in AbstractObject at line 171
mixed __call($name, $arguments)

Parameters

$name
$arguments

Return Value

mixed

at line 129
bool getPermanentlyClose()

Return Value

bool

at line 37
PhotoCollection getPhotos()

Return Value

PhotoCollection

at line 37
Geometry getGeometry()

Return Value

Geometry

at line 37
string getFormattedAddress()

Return Value

string

at line 37
string getName()

Return Value

string

at line 37
string getIcon()

Return Value

string

at line 37
string getId()

Return Value

string

at line 37
string getPlaceId()

Return Value

string

at line 37
string getReference()

Return Value

string

at line 37
string getVicinity()

Return Value

string

at line 37
array getTypes()

Return Value

array

at line 37
array getOpeningHours()

Return Value

array

at line 37
int getPriceLevel()

Return Value

int

at line 37
float getRating()

Return Value

float

at line 37
array getPlusCode()

Return Value

array