CacheWatcher
class CacheWatcher extends Watcher
Methods
void
string
hideQueryParameters(string $uri)
Hide query credentials without changing unrelated URL bytes.
from
Watcher
void
void
void
void
int|null
Details
in
Watcher at line 18
__construct(array $options = [])
Create a new watcher instance.
at line 23
void
register(Application $app)
Register the watcher.
in
Watcher at line 41
protected array
hideParameters(array $data, array $hidden)
Hide the given parameters.
in
Watcher at line 55
protected string
hideQueryParameters(string $uri)
Hide query credentials without changing unrelated URL bytes.
at line 36
void
recordCacheHit(CacheHit $event)
Record a cache key was found.
at line 52
void
recordCacheMissed(CacheMissed $event)
Record a missing cache key.
at line 67
void
recordKeyWritten(KeyWritten $event)
Record a cache key was updated.
at line 84
void
recordKeyForgotten(KeyForgotten $event)
Record a cache key was forgotten / removed.
at line 117
protected int|null
formatExpiration(KeyWritten $event)
No description