Skip to content

configCache

github-actions[bot] edited this page Oct 9, 2026 · 2 revisions

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: 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