Oihana PHP System

hydrateGeoCoordinates.php

Table of Contents

Functions

hydrateGeoCoordinates()  : mixed
Hydrate an array definition with the GeoCoordinates class.

Functions

hydrateGeoCoordinates()

Hydrate an array definition with the GeoCoordinates class.

hydrateGeoCoordinates([mixed $init = null ]) : mixed

Handles both single GeoCoordinates array and array of GeoCoordinates.

🔑 A bare reference survives inside a list, exactly as it does on its own : a list of unresolved handles comes back as it stands, and only an entry that was an array and resolved to nothing is dropped. The keys stay gap-free — a filtered list left with holes serializes as a JSON object, and a consumer walking the value gets something it cannot walk.

Parameters
$init : mixed = null

Single GeoCoordinates data or array of GeoCoordinates data

Tags
throws
ReflectionException
On this page

Search results