Oihana PHP System

hydratePostalAddress.php

Table of Contents

Functions

hydratePostalAddress()  : mixed
Hydrate an array definition with the PostalAddress class.

Functions

hydratePostalAddress()

Hydrate an array definition with the PostalAddress class.

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

Handles both single PostalAddress array and array of PostalAddress.

🔑 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 PostalAddress data or array of PostalAddress data

Tags
throws
ReflectionException
On this page

Search results