Habari\Cache::extend PHP Method

extend() public static method

Extend the expiration of the named cached value.
public static extend ( mixed $name, integer $expiry )
$name mixed The name of the cached item or an array of array( string $group, string $name )
$expiry integer The duration in seconds to extend the cache expiration by
    public static function extend($name, $expiry)
    {
        if (is_array($name)) {
            $array = $name;
            list($group, $name) = $array;
        } else {
            $group = self::$default_group;
        }
        $group = self::site_unique() . $group;
        self::$instance->_extend($name, $expiry, $group);
    }