src/Form/Hydrator/MetaDataHydrator.php
public function hydrate(array $data, $object)
    {
        if (!$object instanceof MetaDataProviderInterface) {
            return $object;
        }

        foreach ($data as $key => $value) {
            $object->setMetaData($key, $value);
        }

        return $object;
    }
public function hydrate(array $data, $object)
    {
        if (!$object instanceof MetaDataProviderInterface) {
            return $object;
        }

        foreach ($data as $key => $value) {
            $object->setMetaData($key, $value);
        }

        return $object;
    }
Hydrate $object with the provided meta data array.

@param  array  $data
@param  object $object

@return object