Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /* Zend\Loader\AutoloaderFactory.php */
- public static function factory(options)
- {
- // .....
- $loader = new $class($opts);
- // .....
- $loader->register();
- self::$loaders[] = new $loader; // Here we lose reference to the configured and registered autoloader
- }
Add Comment
Please, Sign In to add comment