class OutputHelper

Output caching helper.

Properties

array<string,mixed> $dependencies

Methods

__construct(Cache|null $cache, mixed $key)

No description

void
end(array $dependencies = [])

Stops output buffering and saves the captured output to the cache.

void
rollback()

Stops and throws away the output.

Details

at line 22
__construct(Cache|null $cache, mixed $key)

No description

Parameters

Cache|null $cache
mixed $key

at line 34
void end(array $dependencies = [])

Stops output buffering and saves the captured output to the cache.

Parameters

array $dependencies

Return Value

void

at line 48
void rollback()

Stops and throws away the output.

Return Value

void