class OutputHelper

Output caching helper.

Properties

$dependencies

Methods

__construct(Cache $cache, mixed $key)

No description

void
end(array $dependencies = [])

Stops and saves the cache.

void
rollback()

Stops and throws away the output.

Details

at line 29
__construct(Cache $cache, mixed $key)

No description

Parameters

Cache $cache
mixed $key

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

Stops and saves the cache.

Parameters

array $dependencies

Return Value

void

at line 54
void rollback()

Stops and throws away the output.

Return Value

void

Traits

Strict class for better experience.