Zend\Cache\Pattern\OutputCache
Synopsis
class OutputCache
extends AbstractPattern
{
- // members
- protected array $keyStack;
- // Inherited members from AbstractPattern
- protected PatternOptions $options;
- // methods
- public OutputCache setOptions()
- public bool start()
- public bool end()
- // Inherited methods from AbstractPattern
- public AbstractPattern setOptions()
- public PatternOptions getOptions()
Hierarchy
Members
protected
- $keyStack
—
array
The key stack - $options — Zend\Cache\Pattern\PatternOptions
Methods
public
- end() — Stops buffering output, write buffered data to cache using the given key on start() and displays the buffer.
- setOptions() — Set options
- start() — if there is a cached item with the given key display it's data and return true else start buffering output until end() is called or the script ends.
Inherited from Zend\Cache\Pattern\AbstractPattern
public
- getOptions() — Get all pattern options
- setOptions() — Set pattern options