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();
- // Here we lose reference to the configured and registered autoloader
- self::$loaders[] = new $loader;
- }
Add Comment
Please, Sign In to add comment