Lines Matching refs:value
66 * Fetches a value from the cache.
74 * @param mixed $default Default value to return if the key does not exist.
76 * @return array|mixed The value of the item from the cache, or $default in case of cache miss.
79 * MUST be thrown if the $key string is not a legal value.
88 * public function set(string $key, mixed $value, null|int|\DateInterval $ttl = null): bool;
92 * @param array $value The value of the item to store, must be serializable.
93 * @param null|int $ttl Optional. The TTL value of this item. If no value is sent and
94 * the driver supports TTL then the library may set a default value
100 * MUST be thrown if the $key string is not a legal value.
102 public function set_data(string $key, array $value, ?int $ttl = null): bool;
117 * MUST be thrown if the $key string is not a legal value.