ValidatesKey
Shared cache key validation, used by both the PSR-16 (Cache) and PSR-6 (Psr6\CacheItemPool) surfaces
Tags
Table of Contents
Methods
- validateKey() : void
- Validate a cache key (throws on reserved characters or an empty string)
Methods
validateKey()
Validate a cache key (throws on reserved characters or an empty string)
protected
validateKey(string $key) : void
Parameters
- $key : string