Composer\Autoload

ClassLoader::setApcuPrefix()publicWPSCache 1.0

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.

Usage

$ClassLoader = new ClassLoader();
$ClassLoader->setApcuPrefix( $apcuPrefix );
$apcuPrefix(string|null) (required)
-

ClassLoader::setApcuPrefix() code WPSCache 1.9.2

public function setApcuPrefix($apcuPrefix)
{
    $this->apcuPrefix = function_exists('apcu_fetch') && filter_var(ini_get('apc.enabled'), FILTER_VALIDATE_BOOLEAN) ? $apcuPrefix : null;
}