You are here

function ServiceFactory::classFinder in X Autoload 7.4

Same name and namespace in other branches
  1. 7.5 src/DIC/ServiceFactory.php \Drupal\xautoload\DIC\ServiceFactory::classFinder()

The class finder (alias for 'finder').

Parameters

ServiceContainer $services:

Return value

ClassFinderInterface Object that can find classes, and provides methods to register namespaces and prefixes. Note: The findClass() method expects an InjectedAPI argument.

File

lib/DIC/ServiceFactory.php, line 99

Class

ServiceFactory

Namespace

Drupal\xautoload\DIC

Code

function classFinder($services) {
  return $services->finder;
}