original_string: public static function createFromUri($uri)
      {
          foreach (static::$loaders as $loader) {
              if ($loader::canLoad($uri)) {
                  return static::getLoader($loader);
              }
          }
  
          throw new FailedToLoadConfigException(
              sprintf(
                  _('Could not find a suitable loader for URI "%1$s".'),
                  $uri
              )
          );
      }
code: public static function createFromUri($uri)
      {
          foreach (static::$loaders as $loader) {
              if ($loader::canLoad($uri)) {
                  return static::getLoader($loader);
              }
          }
  
          throw new FailedToLoadConfigException(
              sprintf(
                  _('Could not find a suitable loader for URI "%1$s".'),
                  $uri
              )
          );
      }
code_tokens: public static function createFromUri ( $ uri ) { foreach ( static :: $ loaders as $ loader ) { if ( $ loader :: canLoad ( $ uri ) ) { return static :: getLoader ( $ loader ) ; } } throw new FailedToLoadConfigException ( sprintf ( _ ( 'Could not find a suitable loader for URI "%1$s".' ) , $ uri ) ) ; }
docstring: Create a new Loader from an URI.
  
  @since 0.4.0
  
  @param string $uri URI of the resource to create a loader for.
  
  @return LoaderInterface Loader that is able to load the given URI.
  @throws FailedToLoadConfigException If no suitable loader was found.
docstring_tokens: Create a new Loader from an URI .