You are here

function xautoload_LoaderFactory::setApcPrefix in X Autoload 7.3

This is called on instantiation, and whenever the APC prefix is renewed, but only if the system actually supports APC.

Parameters

string $apc_prefix:

File

lib/LoaderFactory.php, line 40

Class

xautoload_LoaderFactory
This thing has an overview of available class loaders with different cache mechanics. It can detect the currently applicable cache method, and it can switch between cache methods.

Code

function setApcPrefix($apc_prefix) {
  $this->apcPrefix = $apc_prefix;
}