original_string: public static function load($class)
      {
          $file = static::normalizePath($class);
  
          if (file_exists($path = __DIR__.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.$file))
          {
              require $path;
  
              return true;
          }
  
          foreach (static::$directories as $directory)
          {
              if (file_exists($path = $directory.DIRECTORY_SEPARATOR.$file))
              {
                  require $path;
  
                  return true;
              }
          }
  
          if (static::$aliases[$class])
          {
              class_alias(static::$aliases[$class], $class);
  
              return true;
          }
          
          return false;
      }
code: public static function load($class)
      {
          $file = static::normalizePath($class);
  
          if (file_exists($path = __DIR__.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.$file))
          {
              require $path;
  
              return true;
          }
  
          foreach (static::$directories as $directory)
          {
              if (file_exists($path = $directory.DIRECTORY_SEPARATOR.$file))
              {
                  require $path;
  
                  return true;
              }
          }
  
          if (static::$aliases[$class])
          {
              class_alias(static::$aliases[$class], $class);
  
              return true;
          }
          
          return false;
      }
code_tokens: public static function load ( $ class ) { $ file = static :: normalizePath ( $ class ) ; if ( file_exists ( $ path = __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . $ file ) ) { require $ path ; return true ; } foreach ( static :: $ directories as $ directory ) { if ( file_exists ( $ path = $ directory . DIRECTORY_SEPARATOR . $ file ) ) { require $ path ; return true ; } } if ( static :: $ aliases [ $ class ] ) { class_alias ( static :: $ aliases [ $ class ] , $ class ) ; return true ; } return false ; }
docstring: Search and Include a Class by class name like Qlake\Router\Route.
  
  @param string $class Like Qlake\Router\Route
  @return bool
docstring_tokens: Search and Include a Class by class name like Qlake \ Router \ Route .