1017. Class

1017.1. Zend\Stdlib\Hydrator\ArraySerializable

1017.1.1. Methods

1017.1.1.1. extract

extract()

Extract values from the provided object

Extracts values via the object’s getArrayCopy() method.

Parameters:object
Return type:array
Throws :ExceptionBadMethodCallException for an $object not implementing getArrayCopy()

1017.1.1.2. hydrate

hydrate()

Hydrate an object

Hydrates an object by passing $data to either its exchangeArray() or populate() method.

Parameters:
  • array
  • object
Return type:

object

Throws :

ExceptionBadMethodCallException for an $object not implementing exchangeArray() or populate()

Project Versions

Table Of Contents

Previous topic

1016. Class

Next topic

1018. Class

This Page