Skip to content

configCache

github-actions edited this page Mar 27, 2026 · 1 revision

Creates a cached configuration object from various sources.

This function SHALL wrap the configuration in a caching layer using PSR-16 CacheInterface.


  • Full name: configCache
  • Defined in: src/functions.php

Parameters

Parameter Type Description
$cache \Psr\SimpleCache\CacheInterface the cache pool for storing configuration data
$configs array|\FastForward\Config\ConfigInterface|string The configuration sources.

Return Value

\FastForward\Config\ConfigInterface

the cached configuration instance

Clone this wiki locally