Zend\Loader\AutoloaderFactory
Synopsis
class AutoloaderFactory
{
- // constants
- const STANDARD_AUTOLOADER = 'Zend\Loader\StandardAutoloader';
- // members
- protected array $loaders;
- protected StandardAutoloader $standardAutoloader;
- // methods
- public static void factory()
- public static array getRegisteredAutoloaders()
- public static SplAutoloader getRegisteredAutoloader()
- public static void unregisterAutoloaders()
- public static bool unregisterAutoloader()
- protected static SplAutoloader getStandardAutoloader()
- protected static bool isSubclassOf()
Constants
Name | Value |
---|---|
STANDARD_AUTOLOADER | 'Zend\Loader\StandardAutoloader' |
Members
protected
- $loaders — array
- $standardAutoloader — Zend\Loader\StandardAutoloader
Methods
protected
- getStandardAutoloader() — Get an instance of the standard autoloader
- isSubclassOf() — Checks if the object has this class as one of its parents
public
- factory() — Factory for autoloaders
- getRegisteredAutoloader() — Retrieves an autoloader by class name
- getRegisteredAutoloaders() — Get a list of all autoloaders registered with the factory
- unregisterAutoloader() — Unregister a single autoloader by class name
- unregisterAutoloaders() — Unregisters all autoloaders that have been registered via the factory.