Take HipSupport online.

@param integer $minutes
@return boolean
496544
public function online($minutes = null)
    {
        if (!$minutes) {
            return $this->cache->forever('hipsupport', true);
        }

        return $this->cache->put('hipsupport', true, $minutes);
    }
118137
public function put($key, $value, $minutes)
	{
		$this->memcache->set($this->prefix.$key, $value, false, $minutes * 60);
	}
659874
public function subtractMinutes($minutes)
    {
        $minutes = (int) $minutes;
        $minutes = -$minutes;
        return $this->addMinutes($minutes);
    }
50628
public function add($key, $value, $minutes)
  {
    return wp_cache_add($key, $value, $this->getPrefix(), ceil($minutes * 60));
  }
560931
public function setMinute($minute)
    {
        if (!preg_match(self::$_regex['minute'], $minute)) {
            throw new \InvalidArgumentException(sprintf('Minute "%s" is incorect', $minute));
        }

        $this->minute = $minute;

        return $this->generateHash();
    }
459099
public function putMany(array $values, $minutes)
    {
        $this->connection()->multi();

        foreach ($values as $key => $value) {
            $this->put($key, $value, $minutes);
        }

        $this->connection()->exec();
    }
339790
public function isInTime(DateTimeInterface $now) : bool
	{
		if ($times = $this->values[static::TIME]) {
			foreach ($times as $time) {
				if ($time['to'] && $time['to'] >= $now->format('H:i') && $time['from'] <= $now->format('H:i')) {
					// Is in range with precision to minutes
					return TRUE;
				} elseif ($time['from'] == $now->format('H:i')) {
					// Is in specific minute
					return TRUE;
				}
			}

			return FALSE;
		}

		return TRUE;
	}
1171749
public function withMinute(int $minute) : LocalTime
    {
        if ($minute === $this->minute) {
            return $this;
        }

        Field\MinuteOfHour::check($minute);

        return new LocalTime($this->hour, $minute, $this->second, $this->nano);
    }
230771
public function put($key, $value, $minutes)
    {
        if (is_array($key) && is_array($value)) {
            $this->putMany(array_combine($key, $value), $minutes);
        } else {
            parent::put($key, $value, $minutes);
        }
    }
488474
public final function setMinute( int $minute = null )
      : DateTime
   {

      if ( \is_null( $minute ) )
      {
         $minute = static::CurrentMinute();
      }

      return $this->setTimeParts( null, $minute );

   }
487713
public function getMinutesAsHours($minutes)
    {
        $hours = floor($minutes / 60);
        $minutes = $minutes - ($hours * 60);

        return sprintf('%s:%s', $hours, str_pad($minutes, 2, '0', STR_PAD_LEFT));
    }
930856
public function put($key, $value, $minutes)
	{
		$file = $this->path($key);

		$data = array(
			'time'  => time(),
			'value' => $value,
			'ttl'   => $this->expiration($minutes)
		);

		return $this->writeCacheFile($file, $data);
	}
594042
public function put($key, $value, $minutes)
	{
		return $this->store->put($this->taggedItemKey($key), $value, $minutes);
	}
1067839
public function put($key, $value, $minutes = 525600)
    {
        $this->getCacheInstance()->put($key, $value, $minutes);

        return $value;
    }
298958
public function add($key, $value, $minutes)
    {
        return $this->cache->add($key, $value, $minutes);
    }
615501
public function put( $key, $value, $minutes = null )
	{
		if ( is_array( $key ) && filter_var( $value, FILTER_VALIDATE_INT ) !== false )
		{
			return $this->putMany( $key, $value );
		}

		$minutes = $this->getMinutes( $minutes );

		if ( !is_null( $minutes ) )
		{
			$this->store->put( $this->itemKey( $key ), $value, $minutes );

			$this->fireCacheEvent( 'write', [$key, $value, $minutes] );
		}
		return null;
	}
880193
protected function expiration($minutes)
    {
        $time = time() + (int) ($minutes * 60);

        return $minutes === 0 || $time > 9999999999 ? 9999999999 : (int) $time;
    }