Composer\Autoload
ClassLoader::setApcuPrefix()
APCu prefix to use to cache found/not-found classes, if the extension is enabled.
Method of the class: ClassLoader{}
No Hooks.
Return
null
. Nothing (null).
Usage
$ClassLoader = new ClassLoader(); $ClassLoader->setApcuPrefix( $apcuPrefix );
- $apcuPrefix(string|null) (required)
- -
ClassLoader::setApcuPrefix() ClassLoader::setApcuPrefix code WPSCache 1.12.4
public function setApcuPrefix($apcuPrefix) { $this->apcuPrefix = function_exists('apcu_fetch') && filter_var(ini_get('apc.enabled'), FILTER_VALIDATE_BOOLEAN) ? $apcuPrefix : null; }