Composer\Autoload
ClassLoader::setApcuPrefix
APCu prefix to use to cache found/not-found classes, if the extension is enabled.
Метод класса: ClassLoader{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$ClassLoader = new ClassLoader(); $ClassLoader->setApcuPrefix( $apcuPrefix );
- $apcuPrefix(строка|null) (обязательный)
- .
Код ClassLoader::setApcuPrefix() ClassLoader::setApcuPrefix ACF 6.4.2
public function setApcuPrefix($apcuPrefix)
{
$this->apcuPrefix = function_exists('apcu_fetch') && filter_var(ini_get('apc.enabled'), FILTER_VALIDATE_BOOLEAN) ? $apcuPrefix : null;
}