Oihana PHP System

hydrateCustomer.php

Table of Contents

Functions

hydrateCustomer()  : mixed
Hydrate an array definition with the Customer class.

Functions

hydrateCustomer()

Hydrate an array definition with the Customer class.

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

Handles both a single customer array and an array of customers, and hydrates the nested contactPoint and address references so the resolved customer matches the shape served by the dedicated /customers endpoint (typed, null fields dropped).

Parameters
$init : mixed = null

Single customer data or array of customer data.

Tags
throws
ReflectionException
On this page

Search results