Quittio 0.3 API

ArrayHydrator
in package

FinalYes

Builds DTOs from plain arrays (the inverse of ArrayNormalizer).

Monetary amounts are stored without currency; the invoice currency (BT-5) and, for fields marked with #[TaxCurrency], the VAT accounting currency (BT-6) are used.

Table of Contents

Methods

hydrate()  : T

Methods

hydrate()

public hydrate(T> $class, array<string, mixed> $data) : T
Parameters
$class : T>
$data : array<string, mixed>
Tags
template
Return values
T
On this page

Search results