LoadReduce
extends Facade
Table of Contents
Methods
-
capture()
: void
-
disable()
: void
-
enable()
: void
-
flush()
: void
-
get()
: mixed
-
getEntity()
: mixed
-
put()
: void
-
putMany()
: void
-
register()
: void
-
remember()
: mixed
-
setLogger()
: void
-
with()
: void
-
getFacadeAccessor()
: mixed
capture()
public
static capture(mixed $data) : void
Parameters
-
$data
: mixed
-
disable()
public
static disable() : void
enable()
public
static enable() : void
flush()
public
static flush() : void
get()
public
static get(string $key, mixed $callback = null) : mixed
Parameters
-
$key
: string
-
-
$callback = null
: mixed
-
getEntity()
public
static getEntity(string $string, int $id, Closure $param) : mixed
Parameters
-
$string
: string
-
-
$id
: int
-
-
$param
: Closure
-
put()
public
static put(string $key, mixed $value) : void
Parameters
-
$key
: string
-
-
$value
: mixed
-
putMany()
public
static putMany(array<string|int, mixed> $values) : void
Parameters
-
$values
: array<string|int, mixed>
-
register()
public
static register(array<string|int, mixed> $reducers) : void
Parameters
-
$reducers
: array<string|int, mixed>
-
remember()
public
static remember(string $key, Closure $callback = null) : mixed
Parameters
-
$key
: string
-
-
$callback = null
: Closure
-
setLogger()
public
static setLogger(LoggerInterface $build) : void
Parameters
-
$build
: LoggerInterface
-
with()
public
static with(array<string|int, mixed> $parameters) : void
Parameters
-
$parameters
: array<string|int, mixed>
-
getFacadeAccessor()
protected
static getFacadeAccessor() : mixed