src/Store.php
public function extendExpiration(string $key, int $minutes = 1)
    {
        @include $this->filePath($key);

        if (isset($exp)) {
            $extended = strtotime('+' . $minutes . ' minutes', $exp);
            return $this->writeFile($key, $extended, var_export($val, true));
        }
        return false;
    }
public function extendExpiration(string $key, int $minutes = 1)
    {
        @include $this->filePath($key);

        if (isset($exp)) {
            $extended = strtotime('+' . $minutes . ' minutes', $exp);
            return $this->writeFile($key, $extended, var_export($val, true));
        }
        return false;
    }
public function extendExpiration ( string $ key , int $ minutes = 1 ) { @ include $ this -> filePath ( $ key ) ; if ( isset ( $ exp ) ) { $ extended = strtotime ( '+' . $ minutes . ' minutes' , $ exp ) ; return $ this -> writeFile ( $ key , $ extended , var_export ( $ val , true ) ) ; } return false ; }
Extend expiration time with given minutes

@param  string $key
@param  int    $minutes
@return bool
Extend expiration time with given minutes