Bitrix API

MainCache implements Cache

Table of Contents

Interfaces

Cache

Methods

__construct()  : mixed
delete()  : static
get()  : mixed
set()  : static
setTtl()  : static

Methods

delete()

public delete(string $key) : static
Parameters
$key : string
Return values
static

get()

public get(string $key[, mixed $default = null ]) : mixed
Parameters
$key : string
$default : mixed = null

set()

public set(string $key, mixed $data[, int|null $ttl = null ]) : static
Parameters
$key : string
$data : mixed
$ttl : int|null = null
Tags
throws
ArgumentException
Return values
static

setTtl()

public setTtl(int $ttl) : static
Parameters
$ttl : int
Return values
static

        
On this page

Search results