Back to WincacheStorage class

Method get

public mixed
get
(mixed $id, mixed $group, mixed $checkTime = true)
Get cached data by ID and group
Parameters
  • string $id The cache data ID
  • string $group The cache data group
  • bool $checkTime True to verify cache time expiration threshold
Returns
  • mixed Boolean false on failure or a cached data object
Since
  • 1.7.0

Method get - Source code

/**
 * Get cached data by ID and group
 *
 * @param   string   $id         The cache data ID
 * @param   string   $group      The cache data group
 * @param   boolean  $checkTime  True to verify cache time expiration threshold
 *
 * @return  mixed  Boolean false on failure or a cached data object
 *
 * @since   1.7.0
 */
public function get($id, $group, $checkTime = true)
{
    return wincache_ucache_get($this->_getCacheId($id, $group));
}