static function ClassFinderAdapter::create in X Autoload 7.5
Parameters
ExtendedClassFinderInterface $finder:
Return value
self
1 call to ClassFinderAdapter::create()
- xautoload_InjectedAPI_hookXautoload::create in legacy/
lib/ InjectedAPI/ hookXautoload.php
File
- src/
Adapter/ ClassFinderAdapter.php, line 48
Class
- ClassFinderAdapter
- An instance of this class is passed around to implementations of hook_xautoload(). It acts as a wrapper around the ClassFinder, to register stuff.
Namespace
Drupal\xautoload\AdapterCode
static function create($finder) {
return new self($finder, new ClassMapGenerator());
}