public function getOriginal($entity)
    {
        $hashId       = $this->getHashId($entity);
        $originalData = $this->originalData[$hashId];

        return $originalData;
    }
public function getOriginal($entity)
    {
        $hashId       = $this->getHashId($entity);
        $originalData = $this->originalData[$hashId];

        return $originalData;
    }
public function getOriginal ( $ entity ) { $ hashId = $ this -> getHashId ( $ entity ) ; $ originalData = $ this -> originalData [ $ hashId ] ; return $ originalData ; }
Gets the original version of an entity for change detection

@param   object $entity The current entity

@return  object
Gets the original version of an entity for change detection