Cake\ElasticSearch\Association\Embedded::hydrate PHP Method

hydrate() abstract public method

Hydrate instance(s) from the parent documents data.
abstract public hydrate ( array $data, array $options ) : Document | array
$data array The data to use in the embedded document.
$options array The options to use in the new document.
return Cake\ElasticSearch\Document | array
    public abstract function hydrate(array $data, $options);