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() |
Hydrate an object
Hydrates an object by passing $data to either its exchangeArray() or populate() method.
| Parameters: |
|
|---|---|
| Return type: | object |
| Throws : | ExceptionBadMethodCallException for an $object not implementing exchangeArray() or populate() |