FileAccess Orion

ObjectCache extends CallbackCache
in package

Table of Contents

$options  : PatternOptions
__call()  : mixed
Class method call handler
__get()  : mixed
Reading data from properties.
__invoke()  : mixed
Handle invoke calls
__isset()  : bool
Checking existing properties.
__set()  : void
Writing data to properties.
__toString()  : string
Handle casting to string
__unset()  : void
Unseting a property.
call()  : mixed
Call and cache a class method
generateKey()  : string
Generate a unique key in base of a key representing the callback part and a key representing the arguments part.
getOptions()  : PatternOptions
Get all pattern options
setOptions()  : void
Set options
generateArgumentsKey()  : string
Generate a unique key of the argument part.
generateCallbackKey()  : string
Generate a unique key in base of a key representing the callback part and a key representing the arguments part.

Properties

Methods

__call()

Class method call handler

public __call(string $method, array<string|int, mixed> $args) : mixed
Parameters
$method : string

Method name to call

$args : array<string|int, mixed>

Method arguments

Tags
throws
RuntimeException
throws
Exception
Return values
mixed

call()

Call and cache a class method

public call(string $method[, array<string|int, mixed> $args = [] ]) : mixed
Parameters
$method : string

Method name to call

$args : array<string|int, mixed> = []

Method arguments

Tags
throws
RuntimeException
throws
Exception
Return values
mixed

generateKey()

Generate a unique key in base of a key representing the callback part and a key representing the arguments part.

public generateKey(string $method[, array<string|int, mixed> $args = [] ]) : string
Parameters
$method : string

The method

$args : array<string|int, mixed> = []

Callback arguments

Tags
throws
RuntimeException
Return values
string

generateArgumentsKey()

Generate a unique key of the argument part.

protected generateArgumentsKey(array<string|int, mixed> $args) : string
Parameters
$args : array<string|int, mixed>
Tags
throws
RuntimeException
Return values
string

generateCallbackKey()

Generate a unique key in base of a key representing the callback part and a key representing the arguments part.

protected generateCallbackKey(callable $callback[, array<string|int, mixed> $args = [] ]) : string
Parameters
$callback : callable

A valid callback

$args : array<string|int, mixed> = []

Callback arguments

Tags
throws
RuntimeException
Return values
string

Search results