Neuron-PHP

Cache extends Memory
in package

Maps strings to command classes.

Table of Contents

Properties

$_instance  : mixed
$_cache  : array<string|int, mixed>

Methods

get()  : ICommand
getInstance()  : ISingleton|null
instance()  : mixed
Gets the global object instance.
invalidate()  : void
Clears the current global object.
serialize()  : void
Writes the object data to the storage medium.
set()  : Cache

Properties

$_instance

public static mixed $_instance = []

$_cache

private static array<string|int, mixed> $_cache = []

Methods

instance()

Gets the global object instance.

public static instance() : mixed

invalidate()

Clears the current global object.

public static invalidate() : void

serialize()

Writes the object data to the storage medium.

public serialize() : void

set()

public set(string $action, string $command) : Cache
Parameters
$action : string
$command : string
Return values
Cache

        
On this page

Search results