$value) { $cacheKey = str_replace('{' . $key . '}', $value, $cacheKey); } return $cacheKey; } public static function getInstance() { if (is_null(self::$instance)) { self::$instance = ApplicationContext::getContainer()->get(\Psr\SimpleCache\CacheInterface::class); } return self::$instance; } public static function __callStatic($method, $args) { return call_user_func_array([self::getInstance(), $method], $args); } }