Registry to store a static member autoloader
Definition at line 13 of file AutoloaderRegistry.php.
◆ getAutoloader()
Returns the registered autoloader
- Exceptions
-
Definition at line 37 of file AutoloaderRegistry.php.
39 if (self::$autoloader !==
null) {
42 throw new \Exception(
'Autoloader is not registered, cannot be retrieved.');
◆ registerAutoloader()
Registers the given autoloader as a static member
- Parameters
-
- Returns
- void
Definition at line 26 of file AutoloaderRegistry.php.
28 self::$autoloader = $newAutoloader;
◆ $autoloader
The documentation for this class was generated from the following file: