function ServiceFactory::finder in X Autoload 7.4
Same name and namespace in other branches
- 7.5 src/DIC/ServiceFactory.php \Drupal\xautoload\DIC\ServiceFactory::finder()
The class finder (alias for 'classFinder').
Parameters
ServiceContainer $services:
Return value
ClassFinderInterface Object that can find classes, and provides methods to register namespaces and prefixes. Notes:
- The findClass() method expects an InjectedAPI argument.
- namespaces are only supported since PHP 5.3
File
- lib/
DIC/ ServiceFactory.php, line 115
Class
Namespace
Drupal\xautoload\DICCode
function finder($services) {
return new ClassFinder();
}