code: public function hydrate(array $data, $object)
      {
          if (!$object instanceof MetaDataProviderInterface) {
              return $object;
          }
  
          foreach ($data as $key => $value) {
              $object->setMetaData($key, $value);
          }
  
          return $object;
      }
docs: Hydrate $object with the provided meta data array.
  
  @param  array  $data
  @param  object $object
  
  @return object