public function generateHash(MetadatableInterface $metadatable)
    {
        return md5(sprintf('%s - %s', $this->getObjectClassName($metadatable), $metadatable->getId()));
    }
public function generateHash(MetadatableInterface $metadatable)
    {
        return md5(sprintf('%s - %s', $this->getObjectClassName($metadatable), $metadatable->getId()));
    }
public function generateHash ( MetadatableInterface $ metadatable ) { return md5 ( sprintf ( '%s - %s' , $ this -> getObjectClassName ( $ metadatable ) , $ metadatable -> getId ( ) ) ) ; }
Generate hash.

@param MetadatableInterface $metadatable

@return string
Generate hash .