ClassLoader::setApcuPrefix( string|null $apcuPrefix )

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


Parameters Parameters

$apcuPrefix

(string|null) (Required)


Top ↑

Source Source

File: vendor/composer/ClassLoader.php

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