You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
trigger_error(sprintf('The "%s" driver is unavailable at the moment, the fallback driver "%s" has been used instead.', $driver, $fallback), E_USER_WARNING);
trigger_error('[' . $driver . '] Calling many times CacheManager::getInstance() for already instanced drivers is a bad practice and have a significant impact on performances.
96
110
See https://github.com/PHPSocialNetwork/phpfastcache/wiki/[V5]-Why-calling-getInstance%28%29-each-time-is-a-bad-practice-%3F');
@@ -192,7 +206,7 @@ public static function setDefaultConfig($name, $value = null)
192
206
/**
193
207
* @return array
194
208
*/
195
-
publicfunctiongetDefaultConfig()
209
+
publicstaticfunctiongetDefaultConfig()
196
210
{
197
211
returnself::$config;
198
212
}
@@ -232,4 +246,13 @@ public static function getStaticAllDrivers()
0 commit comments