public function startTracking($entity)
    {
        $hashId                      = $this->getHashId($entity);
        $this->originalData[$hashId] = clone $entity;
    }
public function startTracking($entity)
    {
        $hashId                      = $this->getHashId($entity);
        $this->originalData[$hashId] = clone $entity;
    }
public function startTracking ( $ entity ) { $ hashId = $ this -> getHashId ( $ entity ) ; $ this -> originalData [ $ hashId ] = clone $ entity ; }
Starts tracking an entity

@param   object $entity The entity to start tracking

@return  void
Starts tracking an entity