Skip to content

ValidatableKeyAware

  • Full name: \Qubus\Cache\Traits\ValidatableKeyAware

Methods

reservedKeyCharacters

Reserved key characters that should not be used in a cache key.

final public reservedKeyCharacters(): string
  • This method is final.

validateKey

Validates cache key.

protected validateKey(string $key): string

Parameters:

Parameter Type Description
$key string

Throws:


isHashed

Checks if key is hashed.

protected isHashed(string $key): bool

Parameters:

Parameter Type Description
$key string

prefix

Affixes a prefix to the

protected prefix(string $key): string

Parameters:

Parameter Type Description
$key string

validateKeys

Validates an array of keys.

protected validateKeys(array $keys): void

Parameters:

Parameter Type Description
$keys array

Throws:



Automatically generated on 2025-10-13