\r\n

51Degrees Pipeline PHP  4.4

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)

Public Member Functions inherited from fiftyone\pipeline\engines\DataKeyedCache

 get ($cacheKey)
Get an item from the cache. More...
 set ($cacheKey, $value)
Add a value to the cache This method needs to be implemented in a subclass to work. More...

Member Function Documentation

◆ get()

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

◆ set()

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