HEX
Server: LiteSpeed
System: Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User: swifizcd (1555)
PHP: 8.2.30
Disabled: NONE
Upload Files
File: //home/swifizcd/mitmeherbals.com.ng/wp-content/plugins/yaysmtp/vendor_amazon/Aws/CacheInterface.php
<?php

namespace YaySMTP\Aws3\Aws;

/**
 * Represents a simple cache interface.
 */
interface CacheInterface {
  /**
   * Get a cache item by key.
   *
   * @param string $key Key to retrieve.
   *
   * @return mixed|null Returns the value or null if not found.
   */
  public function get($key);
  /**
   * Set a cache key value.
   *
   * @param string $key   Key to set
   * @param mixed  $value Value to set.
   * @param int    $ttl   Number of seconds the item is allowed to live. Set
   *                      to 0 to allow an unlimited lifetime.
   */
  public function set($key, $value, $ttl = 0);
  /**
   * Remove a cache key.
   *
   * @param string $key Key to remove.
   */
  public function remove($key);
}