Skip to content

ReflectionCache

  • Full name: \Qubus\Injector\Cache\ReflectionCache

Methods

fetch

Fetch a key from the cache.

public fetch(string $key): mixed|false

Parameters:

Parameter Type Description
$key string The key to fetch.

Return Value:

Value of the key in the cache, or false if not found.


store

Store the value for a specified key in the cache.

public store(string $key, mixed $data): mixed

Parameters:

Parameter Type Description
$key string The key for which to store the value.
$data mixed The value to store under the specified key.


Automatically generated on 2025-10-13