*
* @param string $prefix Prefix of the keys (optional)
*
- * @return array|null Null if the driver doesn't support this feature
+ * @return array Empty if the driver doesn't support this feature
*/
public static function getAllKeys($prefix = null)
{
$return = self::getDriver()->getAllKeys($prefix);
- self::getApp()->save_timestamp($time, 'cache');
+ self::getApp()->saveTimestamp($time, 'cache');
return $return;
}
$return = self::getDriver()->get($key);
- self::getApp()->save_timestamp($time, 'cache');
+ self::getApp()->saveTimestamp($time, 'cache');
return $return;
}
$return = self::getDriver()->set($key, $value, $duration);
- self::getApp()->save_timestamp($time, 'cache_write');
+ self::getApp()->saveTimestamp($time, 'cache_write');
return $return;
}
$return = self::getDriver()->delete($key);
- self::getApp()->save_timestamp($time, 'cache_write');
+ self::getApp()->saveTimestamp($time, 'cache_write');
return $return;
}