protected function XAutoloadWebTestCase::expectedAutoloadStackOrder in X Autoload 7.3
Same name and namespace in other branches
- 7.5 lib/Drupal/xautoload/Tests/XAutoloadWebTestCase.php \Drupal\xautoload\Tests\XAutoloadWebTestCase::expectedAutoloadStackOrder()
- 7.4 lib/Drupal/xautoload/Tests/XAutoloadWebTestCase.php \Drupal\xautoload\Tests\XAutoloadWebTestCase::expectedAutoloadStackOrder()
1 call to XAutoloadWebTestCase::expectedAutoloadStackOrder()
- XAutoloadWebTestCase::assertAutoloadStackOrder in lib/
Drupal/ xautoload/ Tests/ XAutoloadWebTestCase.php
File
- lib/
Drupal/ xautoload/ Tests/ XAutoloadWebTestCase.php, line 125
Class
Namespace
Drupal\xautoload\TestsCode
protected function expectedAutoloadStackOrder($mode) {
switch ($mode) {
case 'apc':
case 'apc_lazy':
$loader = 'xautoload_ClassLoader_ApcCache->loadClass()';
break;
default:
$loader = 'xautoload_ClassLoader_NoCache->loadClass()';
}
return array(
'drupal_autoload_class',
'drupal_autoload_interface',
$loader,
'_simpletest_autoload_psr0',
);
}