public function hydrate($object, array $data)
    {
        foreach ($data as $property => $value) {

            $mutator = $this->determineMutator($property);

            if (method_exists($object, $mutator)) {
                $object->$mutator($value);
            }
        }
    }
public function hydrate($object, array $data)
    {
        foreach ($data as $property => $value) {

            $mutator = $this->determineMutator($property);

            if (method_exists($object, $mutator)) {
                $object->$mutator($value);
            }
        }
    }
public function hydrate ( $ object , array $ data ) { foreach ( $ data as $ property => $ value ) { $ mutator = $ this -> determineMutator ( $ property ) ; if ( method_exists ( $ object , $ mutator ) ) { $ object -> $ mutator ( $ value ) ; } } }
Hydrates given array of data into the given Exif object

@param object $object
@param array $data
@return void
Hydrates given array of data into the given Exif object