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