function ServiceFactory::adapter in X Autoload 7.4
Same name and namespace in other branches
- 7.5 src/DIC/ServiceFactory.php \Drupal\xautoload\DIC\ServiceFactory::adapter()
Parameters
ServiceContainer $services:
Return value
File
- lib/
DIC/ ServiceFactory.php, line 33
Class
Namespace
Drupal\xautoload\DICCode
function adapter($services) {
return new ClassFinderAdapter($services->finder, $services->classMapGenerator);
}