51Degrees Pipeline for PHP

fiftyone\pipeline\engines\SessionCache Class Reference

Detailed Description

An extension of the cache class that stores a cache in a user's session if PHP sessions are active.

Inheritance diagram for fiftyone\pipeline\engines\SessionCache:

[legend]

Collaboration diagram for fiftyone\pipeline\engines\SessionCache:

[legend]

Public Member Functions

 __construct (int $cacheTime=0)
 set ($key, $value)
 get ($key)

Member Function Documentation

◆ get()

fiftyone\pipeline\engines\SessionCache::get ( $key)
Parameters
string|array<string,mixed>$key
Returns
mixed

Reimplemented from fiftyone\pipeline\engines\DataKeyedCache.

◆ set()

fiftyone\pipeline\engines\SessionCache::set ( $key,
$value )
Parameters
string|array<string,mixed>$key
mixed$value

Reimplemented from fiftyone\pipeline\engines\DataKeyedCache.