You are here

function xautoload_ServiceFactory::classFinder in X Autoload 7.3

Same name and namespace in other branches
  1. 7.2 lib/ServiceFactory.php \xautoload_ServiceFactory::classFinder()

The class finder (alias for 'finder').

Parameters

xautoload_Container_LazyServices $services:

Return value

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

File

lib/ServiceFactory.php, line 125

Class

xautoload_ServiceFactory

Code

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