__construct()
extract()
hydrate()
flipMapping()
$mapping
$reverse
__construct(array $mapping, array $reverse)
array
Map for name conversion on hydration
array
Reverse map for name conversion on extraction
extract(string $name) : mixed
string
The original name
mixed
The extracted namehydrate(string $name) : mixed
string
The original name
mixed
The hydrated nameflipMapping(array $array) : array
array
Array to flip
\Zend\Stdlib\Exception\InvalidArgumentException |
---|
array
Flipped array$mapping : array
$reverse : array