original_string: public static function fromParts(array $parts): UriInterface
      {
          $uri = new self();
          $uri->applyParts($parts);
          $uri->validateState();
  
          return $uri;
      }
code: public static function fromParts(array $parts): UriInterface
      {
          $uri = new self();
          $uri->applyParts($parts);
          $uri->validateState();
  
          return $uri;
      }
code_tokens: public static function fromParts ( array $ parts ) : UriInterface { $ uri = new self ( ) ; $ uri -> applyParts ( $ parts ) ; $ uri -> validateState ( ) ; return $ uri ; }
docstring: Creates a URI from a hash of `parse_url` components.
  
  @param array $parts
  
  @return UriInterface
  @link http://php.net/manual/en/function.parse-url.php
  
  @throws TypeError If the components do not form a valid URI.
docstring_tokens: Creates a URI from a hash of parse_url components .