final public function hydrateObject(Model $object, $uniqueIdentifier, $relationshipsToAutoHydrate = [])
    {
        $objectData = $this->fetchObjectData($object, $uniqueIdentifier, $relationshipsToAutoHydrate);

        $object->importRawData($objectData);
    }
final public function hydrateObject(Model $object, $uniqueIdentifier, $relationshipsToAutoHydrate = [])
    {
        $objectData = $this->fetchObjectData($object, $uniqueIdentifier, $relationshipsToAutoHydrate);

        $object->importRawData($objectData);
    }
final public function hydrateObject ( Model $ object , $ uniqueIdentifier , $ relationshipsToAutoHydrate = [ ] ) { $ objectData = $ this -> fetchObjectData ( $ object , $ uniqueIdentifier , $ relationshipsToAutoHydrate ) ; $ object -> importRawData ( $ objectData ) ; }
Fetches the data for an object and populates it's model data with the same.

@param \Rhubarb\Stem\Models\Model $object
@param $uniqueIdentifier
@param array $relationshipsToAutoHydrate An array of relationship names which should be automatically hydrated (i.e. joined) during the hydration of this object. Not supported by all Repositories.
(i.e. joined) during the hydration of this object. Not supported by all
Repositories.
Fetches the data for an object and populates it s model data with the same .