Skip to content

Cache

cache api

  • Full name: \Zotlabs\Lib\Cache

Methods

get

public static get(string $key, string $age = ''): string
  • This method is static.

Parameters:

Parameter Type Description
$key string
$age string in SQL format, default is '30 DAY'

set

public static set(mixed $key, mixed $value): mixed
  • This method is static.

Parameters:

Parameter Type Description
$key mixed
$value mixed


Automatically generated on 2025-03-19