Interface HydratorInterface

Summary

Fully Qualified Name: Laminas\Hydrator\HydratorInterface
Extends: HydrationInterface, ExtractionInterface

Description

Methods

Name Description Defined By
extract() Extract values from an object ExtractionInterface
hydrate() Hydrate $object with the provided $data. HydrationInterface

Method Details

extract()

Extract values from an object

Parameter Name Type Description
$object

Returns: array

hydrate()

Hydrate $object with the provided $data.

Parameter Name Type Description
$data array
$object

Returns: object The implementation should return an object of any type. By purposely omitting the return type from the signature, implementations may choose to specify a more specific type.

Top