Documentation

ClientHeadersCache
in package

Gets/Puts the client headers from/to the cache

Tags
author

DeviceAtlas Limited

copyright

Copyright (c) DeviceAtlas Ltd 2023. All Rights Reserved.

Table of Contents

Constants

CACHE_PATH  = 'client_headers'

Properties

$cacheExpirySeconds  : int
$cachePath  : string
$useCache  : bool

Methods

__construct()  : mixed
getHeaders()  : array<string|int, mixed>|null
setHeaders()  : mixed
isCacheExpired()  : bool

Constants

Properties

Methods

getHeaders()

public getHeaders() : array<string|int, mixed>|null
Return values
array<string|int, mixed>|null

setHeaders()

public setHeaders( $headersJson) : mixed
Parameters
$headersJson :

string


        
On this page

Search results