original_string: public static function enable()
      {
          // Ensures we don't hit https://bugs.php.net/42098
          class_exists('Symfony\Component\Debug\ErrorHandler');
          class_exists('Psr\Log\LogLevel');
  
          if (!\is_array($functions = spl_autoload_functions())) {
              return;
          }
  
          foreach ($functions as $function) {
              spl_autoload_unregister($function);
          }
  
          foreach ($functions as $function) {
              if (!\is_array($function) || !$function[0] instanceof self) {
                  $function = [new static($function), 'loadClass'];
              }
  
              spl_autoload_register($function);
          }
      }
code: public static function enable()
      {
          // Ensures we don't hit https://bugs.php.net/42098
          class_exists('Symfony\Component\Debug\ErrorHandler');
          class_exists('Psr\Log\LogLevel');
  
          if (!\is_array($functions = spl_autoload_functions())) {
              return;
          }
  
          foreach ($functions as $function) {
              spl_autoload_unregister($function);
          }
  
          foreach ($functions as $function) {
              if (!\is_array($function) || !$function[0] instanceof self) {
                  $function = [new static($function), 'loadClass'];
              }
  
              spl_autoload_register($function);
          }
      }
code_tokens: public static function enable ( ) { // Ensures we don't hit https://bugs.php.net/42098 class_exists ( 'Symfony\Component\Debug\ErrorHandler' ) ; class_exists ( 'Psr\Log\LogLevel' ) ; if ( ! \ is_array ( $ functions = spl_autoload_functions ( ) ) ) { return ; } foreach ( $ functions as $ function ) { spl_autoload_unregister ( $ function ) ; } foreach ( $ functions as $ function ) { if ( ! \ is_array ( $ function ) || ! $ function [ 0 ] instanceof self ) { $ function = [ new static ( $ function ) , 'loadClass' ] ; } spl_autoload_register ( $ function ) ; } }
docstring: Wraps all autoloaders.
docstring_tokens: Wraps all autoloaders .