DrupalPhaseControl |
class |
Drupal\xautoload\Phases |
src/Phases/DrupalPhaseControl.php |
Records events during a Drupal request, and forwards them to the registered
observers after the first class loader cache miss. |
|
2 |
|
DrupalStatic |
class |
Drupal\xautoload\Tests\VirtualDrupal |
tests/src/VirtualDrupal/DrupalStatic.php |
|
|
|
|
DrupalSystem |
class |
Drupal\xautoload\DrupalSystem |
src/DrupalSystem/DrupalSystem.php |
|
|
1 |
|
DrupalSystemInterface |
interface |
Drupal\xautoload\DrupalSystem |
src/DrupalSystem/DrupalSystemInterface.php |
|
2 |
12 |
|
EnvironmentSnapshotMaker |
class |
Drupal\xautoload\Tests |
lib/Drupal/xautoload/Tests/EnvironmentSnapshotMaker.php |
|
|
3 |
|
ExampleClass |
class |
Drupal\xautoload_test_1 |
tests/test_1/lib/Drupal/xautoload_test_1/ExampleClass.php |
|
|
|
|
ExampleClass |
class |
Drupal\xautoload_test_3 |
tests/test_3/lib/ExampleClass.php |
|
|
|
|
ExampleModules |
class |
Drupal\xautoload\Tests\Example |
tests/src/Example/ExampleModules.php |
|
|
1 |
|
ExampleModulesInterface |
interface |
Drupal\xautoload\Tests\VirtualDrupal |
tests/src/VirtualDrupal/ExampleModulesInterface.php |
|
1 |
1 |
|
ExtendedClassFinderInterface |
interface |
Drupal\xautoload\ClassFinder |
src/ClassFinder/ExtendedClassFinderInterface.php |
Class finder interface with additional registration methods. |
1 |
13 |
|
ExtensionNamespaces |
class |
Drupal\xautoload\Phases |
src/Phases/ExtensionNamespaces.php |
|
|
2 |
|
FileInspector |
class |
Drupal\xautoload\Discovery |
src/Discovery/FileInspector.php |
|
|
|
|
FinderPluginInterface |
interface |
Drupal\xautoload\ClassFinder\Plugin |
src/ClassFinder/Plugin/FinderPluginInterface.php |
X Autoload plugins are for: |
4 |
1 |
|
FindFileInjectedApi |
class |
Drupal\xautoload\ClassFinder\InjectedApi |
src/ClassFinder/InjectedApi/FindFileInjectedApi.php |
To help testability, we use an injected API instead of just a return value.
The injected API can be mocked to provide a mocked file_exists(), and to
monitor all suggested candidates, not just the correct return value. |
1 |
1 |
|
Foo_Class |
class |
Drupal\xautoload_test_5\FooNamespace |
tests/test_5/src/FooNamespace/Foo_Class.php |
|
|
1 |
|
GenericPrefixMap |
class |
Drupal\xautoload\ClassFinder |
src/ClassFinder/GenericPrefixMap.php |
Helper class for the class finder.
This is not part of ClassFinder, because we want to use the same logic for
namespaces (PSR-0) and prefixes (PEAR). |
|
2 |
|
HackyLog |
class |
Drupal\xautoload\Tests\Util |
tests/src/Util/HackyLog.php |
|
|
|
|
HookSystem |
class |
Drupal\xautoload\Tests\VirtualDrupal |
tests/src/VirtualDrupal/HookSystem.php |
|
|
|
|
HookTestExampleModules |
class |
Drupal\xautoload\Tests\Example |
tests/src/Example/HookTestExampleModules.php |
|
|
1 |
|
HookXautoload |
class |
Drupal\xautoload\Phases |
src/Phases/HookXautoload.php |
A variation of hook_xautoload() that fires |
|
1 |
|
HookXautoloadEarly |
class |
Drupal\xautoload\Phases |
src/Phases/HookXautoloadEarly.php |
A variation of hook_xautoload() that fires very early, as soon as a *.module
file is included, but only once per module / request. |
|
|
|
InjectedApiInterface |
interface |
Drupal\xautoload\ClassFinder\InjectedApi |
src/ClassFinder/InjectedApi/InjectedApiInterface.php |
To help testability, we use an injected API instead of just a return value.
The injected API can be mocked to provide a mocked file_exists(), and to
monitor all suggested candidates, not just the correct return value. |
1 |
5 |
|
LibrariesFinderPlugin |
class |
Drupal\xautoload\Libraries |
src/Libraries/LibrariesFinderPlugin.php |
Registers autoload mappings from all libraries on hook_init(), or after the
first cache miss. |
|
|
|
LibrariesInfo |
class |
Drupal\xautoload\Tests\VirtualDrupal |
tests/src/VirtualDrupal/LibrariesInfo.php |
|
|
|
|
LibrariesInfoAlter |
class |
Drupal\xautoload\Libraries |
src/Libraries/LibrariesInfoAlter.php |
|
|
2 |
|
LibrariesLoad |
class |
Drupal\xautoload\Tests\VirtualDrupal |
tests/src/VirtualDrupal/LibrariesLoad.php |
|
|
|
|
LibrariesOnInit |
class |
Drupal\xautoload\Libraries |
src/Libraries/LibrariesOnInit.php |
Registers autoload mappings from all libraries on hook_init(), or after the
first cache miss. |
|
1 |
|
LibrariesPreLoadCallback |
class |
Drupal\xautoload\Libraries |
src/Libraries/LibrariesPreLoadCallback.php |
|
|
1 |
|
LibraryCacheMissObserver |
class |
Drupal\xautoload\Libraries |
src/Libraries/LibraryCacheMissObserver.php |
|
|
|
|
LoadClassGetFileInjectedApi |
class |
Drupal\xautoload\ClassFinder\InjectedApi |
src/ClassFinder/InjectedApi/LoadClassGetFileInjectedApi.php |
To help testability, we use an injected API instead of just a return value.
The injected API can be mocked to provide a mocked file_exists(), and to
monitor all suggested candidates, not just the correct return value. |
|
7 |
|
LoadClassInjectedAPI |
class |
Drupal\xautoload\ClassFinder\InjectedApi |
src/ClassFinder/InjectedApi/LoadClassInjectedAPI.php |
To help testability, we use an injected API instead of just a return value.
The injected API can be mocked to provide a mocked file_exists(), and to
monitor all suggested candidates, not just the correct return value. |
|
2 |
|
LocalDirectoryAdapter |
class |
Drupal\xautoload\Adapter |
src/Adapter/LocalDirectoryAdapter.php |
An instance of this class is passed around to implementations of
hook_xautoload(). It acts as a wrapper around the ClassFinder, to register
stuff. |
1 |
2 |
|
Main |
class |
Drupal\xautoload |
src/Main.php |
|
|
3 |
|
MockDrupalSystem |
class |
Drupal\xautoload\Tests\Mock |
tests/src/Mock/MockDrupalSystem.php |
|
|
2 |
|
ModuleBuildDependencies |
class |
Drupal\xautoload\Tests\VirtualDrupal |
tests/src/VirtualDrupal/ModuleBuildDependencies.php |
|
|
|
|
ModuleEnable |
class |
Drupal\xautoload\Tests\VirtualDrupal |
tests/src/VirtualDrupal/ModuleEnable.php |
|
|
|
|
ModuleImplements |
class |
Drupal\xautoload\Tests\VirtualDrupal |
tests/src/VirtualDrupal/ModuleImplements.php |
|
|
|
|
ModuleList |
class |
Drupal\xautoload\Tests\VirtualDrupal |
tests/src/VirtualDrupal/ModuleList.php |
Replicates module_list() with its static cache variables. |
|
|
|
PhaseObserverInterface |
interface |
Drupal\xautoload\Phases |
src/Phases/PhaseObserverInterface.php |
Observes switching into specific "phases" of a Drupal process. |
5 |
2 |
|
ProxyClassFinder |
class |
Drupal\xautoload\ClassFinder |
src/ClassFinder/ProxyClassFinder.php |
A placeholder class finder. Used to postpone expensive operations until they
are actually needed. |
|
2 |
|
Psr0DirectoryBehavior |
final class |
Drupal\xautoload\DirectoryBehavior |
src/DirectoryBehavior/Psr0DirectoryBehavior.php |
Directory behavior for PSR-0. |
|
6 |
|
Psr4FinderPlugin |
class |
Drupal\xautoload\ClassFinder\Plugin |
src/ClassFinder/Plugin/Psr4FinderPlugin.php |
|
|
|
|
PureFunctions |
class |
Drupal\xautoload\Tests\VirtualDrupal |
tests/src/VirtualDrupal/PureFunctions.php |
|
|
2 |
|
SerializableClosureWrapper |
class |
Drupal\xautoload\Libraries |
src/Libraries/SerializableClosureWrapper.php |
A wrapper that allows serialization of closures from hook_libraries_info(). |
|
1 |
|
ServiceContainer |
class |
Drupal\xautoload\DIC |
src/DIC/ServiceContainer.php |
|
|
2 |
|
ServiceContainerInterface |
interface |
Drupal\xautoload\DIC |
src/DIC/ServiceContainerInterface.php |
@property Main $main
@property ClassFinderAdapter $adapter
@property ClassMapGeneratorInterface $classMapGenerator
@property ClassMapGenerator $classMapGeneratorRaw
@property CacheManager $cacheManager
@property ProxyClassFinder $proxyFinder
@property… |
2 |
1 |
|
ServiceFactory |
class |
Drupal\xautoload\DIC |
src/DIC/ServiceFactory.php |
|
|
1 |
|
StaticCallLog |
abstract class |
Drupal\xautoload\Tests\Util |
tests/src/Util/StaticCallLog.php |
|
|
3 |
|
StreamWrapper |
class |
Drupal\xautoload\Tests\Filesystem |
tests/src/Filesystem/StreamWrapper.php |
Intercept calls to the filesystem, so we don't have to create fixture files. |
|
4 |
|
SystemBuildModuleData |
class |
Drupal\xautoload\Tests\VirtualDrupal |
tests/src/VirtualDrupal/SystemBuildModuleData.php |
|
|
|
|