Symfony\Component\ClassLoader\DebugUniversalClassLoader
Checks that the class is actually declared in the included file.
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
class DebugUniversalClassLoader
extends UniversalClassLoader
{
- // Inherited methods from UniversalClassLoader
- public void useIncludePath()
- public Boolean getUseIncludePath()
- public array getNamespaces()
- public array getPrefixes()
- public array getNamespaceFallbacks()
- public array getPrefixFallbacks()
- public void registerNamespaceFallbacks()
- public void registerNamespaceFallback()
- public void registerPrefixFallbacks()
- public void registerPrefixFallback()
- public void registerNamespaces()
- public void registerNamespace()
- public void registerPrefixes()
- public void registerPrefix()
- public void register()
- public Boolean|null loadClass()
- public string|null findFile()
Hierarchy
Methods
public
- enable() — Replaces all regular UniversalClassLoader instances by a DebugUniversalClassLoader ones.
- loadClass() — {@inheritDoc}
Inherited from Symfony\Component\ClassLoader\UniversalClassLoader
public
- findFile() — Finds the path to the file where the class is defined.
- getNamespaceFallbacks() — Gets the directory(ies) to use as a fallback for namespaces.
- getNamespaces() — Gets the configured namespaces.
- getPrefixFallbacks() — Gets the directory(ies) to use as a fallback for class prefixes.
- getPrefixes() — Gets the configured class prefixes.
- getUseIncludePath() — Can be used to check if the autoloader uses the include path to check for classes.
- loadClass() — Loads the given class or interface.
- register() — Registers this instance as an autoloader.
- registerNamespace() — Registers a namespace.
- registerNamespaceFallback() — Registers a directory to use as a fallback for namespaces.
- registerNamespaceFallbacks() — Registers the directory to use as a fallback for namespaces.
- registerNamespaces() — Registers an array of namespaces
- registerPrefix() — Registers a set of classes using the PEAR naming convention.
- registerPrefixFallback() — Registers a directory to use as a fallback for class prefixes.
- registerPrefixFallbacks() — Registers directories to use as a fallback for class prefixes.
- registerPrefixes() — Registers an array of classes using the PEAR naming convention.
- useIncludePath() — Turns on searching the include for class files. Allows easy loading of installed PEAR packages