You are here

protected function xautoload_ServiceFactory::_apcPrefix in X Autoload 7.2

1 call to xautoload_ServiceFactory::_apcPrefix()
xautoload_ServiceFactory::cachedClassFinder in lib/ServiceFactory.php

File

lib/ServiceFactory.php, line 28

Class

xautoload_ServiceFactory

Code

protected function _apcPrefix() {
  if (extension_loaded('apc') && function_exists('apc_store') && !empty($GLOBALS['databases'])) {
    return 'drupal_xautoload_' . hash('sha256', serialize($GLOBALS['databases']));
  }
}