Interfaces, Classes, Traits and Enums
- publicSuffixListCacheInterface
Table of Contents
-
$cache
: CacheInterface
-
$cachePrefix
: string
-
$cacheTtl
: DateInterval|null
-
__construct()
: mixed
-
fetch()
: publicSuffixListInterface|null
-
forget()
: bool
-
remember()
: bool
-
cacheKey()
: string
$cache
private
CacheInterface
$cache
$cachePrefix
private
string
$cachePrefix
$cacheTtl
private
DateInterval|null
$cacheTtl
__construct()
public
__construct(CacheInterface $cache[, string $cachePrefix = '' ][, mixed $cacheTtl = null ]) : mixed
Parameters
-
$cache
: CacheInterface
-
-
$cachePrefix
: string
= ''
-
-
$cacheTtl
: mixed
= null
-
Return values
mixed
—
fetch()
public
fetch(string $uri) : publicSuffixListInterface|null
Parameters
-
$uri
: string
-
-
throws
-
InvalidArgumentException
Return values
publicSuffixListInterface|null
—
forget()
public
forget(string $uri) : bool
Parameters
-
$uri
: string
-
-
throws
-
InvalidArgumentException
Return values
bool
—
remember()
public
remember(string $uri, publicSuffixListInterface $publicSuffixList) : bool
Parameters
-
$uri
: string
-
-
$publicSuffixList
: publicSuffixListInterface
-
-
throws
-
Throwable
-
throws
-
InvalidArgumentException
Return values
bool
—
cacheKey()
private
cacheKey(string $str) : string
Parameters
-
$str
: string
-
Return values
string
—