AbstractCachedClassLoader |
abstract class |
Drupal\xautoload\ClassLoader |
lib/ClassLoader/AbstractCachedClassLoader.php |
|
3 |
1 |
|
AbstractClassLoader |
abstract class |
Drupal\xautoload\ClassLoader |
lib/ClassLoader/AbstractClassLoader.php |
Behaves mostly like the Symfony ClassLoader classes. |
3 |
2 |
|
AbstractClassLoaderDecorator |
abstract class |
Drupal\xautoload\ClassLoader |
lib/ClassLoader/AbstractClassLoaderDecorator.php |
Behaves mostly like the Symfony ClassLoader classes. |
1 |
1 |
|
AbstractInjectedApi |
abstract class |
Drupal\xautoload\ClassFinder\InjectedApi |
lib/ClassFinder/InjectedApi/AbstractInjectedApi.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. |
3 |
|
|
ApcClassLoader |
class |
Drupal\xautoload\ClassLoader |
lib/ClassLoader/ApcClassLoader.php |
|
|
1 |
|
BasicIntegrityTest |
class |
Drupal\xautoload\Tests |
tests/lib/BasicIntegrityTest.php |
A test class to verify that all class files work well across PHP versions. |
|
|
|
BootPhase |
class |
Drupal\xautoload\Tests\FinderOperation |
tests/lib/FinderOperation/BootPhase.php |
|
|
|
|
CachedClassMapGenerator |
class |
Drupal\xautoload\Discovery |
lib/Discovery/CachedClassMapGenerator.php |
|
|
1 |
|
CacheManager |
class |
Drupal\xautoload\CacheManager |
lib/CacheManager/CacheManager.php |
|
|
3 |
|
CacheManagerObserverInterface |
interface |
Drupal\xautoload\CacheManager |
lib/CacheManager/CacheManagerObserverInterface.php |
|
4 |
4 |
|
CacheNotSupportedException |
class |
Drupal\xautoload\ClassLoader |
lib/ClassLoader/CacheNotSupportedException.php |
|
|
|
|
ClassFinder |
class |
Drupal\xautoload\ClassFinder |
lib/ClassFinder/ClassFinder.php |
|
|
3 |
|
ClassFinderAdapter |
class |
Drupal\xautoload\Adapter |
lib/Adapter/ClassFinderAdapter.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. |
|
8 |
|
ClassFinderAdapterInterface |
interface |
Drupal\xautoload\Adapter |
lib/Adapter/ClassFinderAdapterInterface.php |
|
2 |
|
|
ClassFinderAdapterTest |
class |
Drupal\xautoload\Tests |
tests/lib/ClassFinderAdapterTest.php |
|
|
|
|
ClassFinderInterface |
interface |
Drupal\xautoload\ClassFinder |
lib/ClassFinder/ClassFinderInterface.php |
|
2 |
4 |
|
ClassLoaderInterface |
interface |
Drupal\xautoload\ClassLoader |
lib/ClassLoader/ClassLoaderInterface.php |
Behaves mostly like the Symfony ClassLoader classes. |
2 |
2 |
|
ClassLoaderTest |
class |
Drupal\xautoload\Tests |
tests/lib/ClassLoaderTest.php |
|
|
|
|
ClassMapGenerator |
class |
Drupal\xautoload\Discovery |
lib/Discovery/ClassMapGenerator.php |
|
|
5 |
|
ClassMapGeneratorInterface |
interface |
Drupal\xautoload\Discovery |
lib/Discovery/ClassMapGeneratorInterface.php |
|
2 |
2 |
|
CollectFilesInjectedApi |
class |
Drupal\xautoload\ClassFinder\InjectedApi |
lib/ClassFinder/InjectedApi/CollectFilesInjectedApi.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 |
|
CommonRegistrationInterface |
interface |
Drupal\xautoload\ClassFinder |
lib/ClassFinder/CommonRegistrationInterface.php |
Class finder interface with additional registration methods. |
2 |
1 |
|
ComposerDir |
class |
Drupal\xautoload\Discovery |
lib/Discovery/ComposerDir.php |
|
|
2 |
|
ComposerJson |
class |
Drupal\xautoload\Discovery |
lib/Discovery/ComposerJson.php |
|
1 |
2 |
|
ComposerJsonTargetDir |
class |
Drupal\xautoload\Discovery |
lib/Discovery/ComposerJsonTargetDir.php |
|
|
|
|
DefaultDirectoryBehavior |
final class |
Drupal\xautoload\DirectoryBehavior |
lib/DirectoryBehavior/DefaultDirectoryBehavior.php |
|
|
7 |
|
DirectoryBehaviorInterface |
interface |
Drupal\xautoload\DirectoryBehavior |
lib/DirectoryBehavior/DirectoryBehaviorInterface.php |
|
3 |
3 |
|
DiscoveryTest |
class |
Drupal\xautoload\Tests |
tests/lib/DiscoveryTest.php |
|
|
|
|
DrupalBootTest |
class |
Drupal\xautoload\Tests |
tests/lib/DrupalBootTest.php |
|
|
|
|
DrupalExtensionAdapter |
class |
Drupal\xautoload\Adapter |
lib/Adapter/DrupalExtensionAdapter.php |
Service that knows how to register module namespaces and prefixes into the
class loader, and that remembers which modules have already been registered. |
|
4 |
|
DrupalExtensionNamespaceFinderPlugin |
class |
Drupal\xautoload\ClassFinder\Plugin |
lib/ClassFinder/Plugin/DrupalExtensionNamespaceFinderPlugin.php |
There are different dimensions of state for each module: |
1 |
1 |
|
DrupalExtensionUnderscoreFinderPlugin |
class |
Drupal\xautoload\ClassFinder\Plugin |
lib/ClassFinder/Plugin/DrupalExtensionUnderscoreFinderPlugin.php |
|
|
1 |
|
DrupalSystem |
class |
Drupal\xautoload\DrupalSystem |
lib/DrupalSystem/DrupalSystem.php |
|
|
1 |
|
DrupalSystemInterface |
interface |
Drupal\xautoload\DrupalSystem |
lib/DrupalSystem/DrupalSystemInterface.php |
|
2 |
3 |
|
EnvironmentSnapshotMaker |
class |
Drupal\xautoload\Tests |
lib/Drupal/xautoload/Tests/EnvironmentSnapshotMaker.php |
|
|
3 |
|
ExampleClass |
class |
Drupal\xautoload_test_3 |
tests/test_3/lib/ExampleClass.php |
|
|
|
|
ExampleClass |
class |
Drupal\xautoload_test_1 |
tests/test_1/lib/Drupal/xautoload_test_1/ExampleClass.php |
|
|
|
|
ExtendedClassFinderInterface |
interface |
Drupal\xautoload\ClassFinder |
lib/ClassFinder/ExtendedClassFinderInterface.php |
Class finder interface with additional registration methods. |
1 |
6 |
|
FileInspector |
class |
Drupal\xautoload\Discovery |
lib/Discovery/FileInspector.php |
|
|
|
|
FinderOperationInterface |
interface |
Drupal\xautoload\FinderOperation |
lib/FinderOperation/FinderOperationInterface.php |
|
7 |
3 |
|
FinderPluginInterface |
interface |
Drupal\xautoload\ClassFinder\Plugin |
lib/ClassFinder/Plugin/FinderPluginInterface.php |
X Autoload plugins are for: |
2 |
|
|
FindFileInjectedApi |
class |
Drupal\xautoload\ClassFinder\InjectedApi |
lib/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 |
|
GenericPrefixMap |
class |
Drupal\xautoload\ClassFinder |
lib/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 |
|
HookXautoloadOperation |
class |
Drupal\xautoload\FinderOperation |
lib/FinderOperation/HookXautoloadOperation.php |
|
|
2 |
|
InjectedApiInterface |
interface |
Drupal\xautoload\ClassFinder\InjectedApi |
lib/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 |
3 |
|
LoadClassGetFileInjectedApi |
class |
Drupal\xautoload\ClassFinder\InjectedApi |
lib/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. |
|
4 |
|
LoadClassInjectedAPI |
class |
Drupal\xautoload\ClassFinder\InjectedApi |
lib/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 |
|
LoaderSetFinderOperation |
class |
Drupal\xautoload\FinderOperation |
lib/FinderOperation/LoaderSetFinderOperation.php |
|
|
1 |
|
LocalDirectoryAdapter |
class |
Drupal\xautoload\Adapter |
lib/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 |
1 |
|
Main |
class |
Drupal\xautoload |
lib/Main.php |
|
|
3 |
|