Composer\Autoload

ClassLoader::setApcuPrefix │ public │ CF7 1.0

APCu prefix to use to cache found/not-found classes, if the extension is enabled.

Метод класса: ClassLoader{}

Хуков нет.

Возвращает

void. Ничего (null).

Использование

$ClassLoader = new ClassLoader();
$ClassLoader->setApcuPrefix( $apcuPrefix );
$apcuPrefix(строка|null) (обязательный)
.

Код ClassLoader::setApcuPrefix() CF7 6.2.4.1

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