PHP Class Prado\Data\SqlMap\Configuration\TSqlMapCacheKey

Provides a hash of the object to be cached.
Since: 3.1
Exibir arquivo Open project: pradosoft/prado Class Usage Examples

Public Methods

Method Description
__construct ( $object )
getHash ( ) : string

Protected Methods

Method Description
generateKey ( $string ) : string

Method Details

__construct() public method

public __construct ( $object )

generateKey() protected method

protected generateKey ( $string ) : string
return string crc32 hash of the serialized object.

getHash() public method

public getHash ( ) : string
return string object hash.