thesportsdb-client

CachePolicy
in package

FinalYes

Time-to-live in seconds for each Freshness. Zero or less means don't cache.

Table of Contents

Properties

$live  : float
$medium  : float
$slow  : float
$static  : float

Methods

__construct()  : mixed
ttl()  : float

Properties

$static read-only

public float $static = 7 * 24 * 3600

Methods

__construct()

public __construct([float $static = 7 * 24 * 3600 ][, float $slow = 24 * 3600 ][, float $medium = 3600 ][, float $live = 0 ]) : mixed
Parameters
$static : float = 7 * 24 * 3600
$slow : float = 24 * 3600
$medium : float = 3600
$live : float = 0
On this page

Search results