PHP Interface Cachearium\CachedObject

Datei anzeigen Open project: corollarium/cachearium

Public Methods

Method Description
getCacheKey ( $atts = null ) : CacheKey Returns a cache key for this object.

Method Details

getCacheKey() public method

This simplifies storage of data associated to a class. What you usually want to do here is a return new CacheKey('classname', $this->getId(), $atts);
public getCacheKey ( $atts = null ) : CacheKey
return CacheKey