public static function load($source, string $contentType = 'text/xml', array $options = []): \FluentDOM\DOM\Document {
    if (NULL === self::$_loader) {
      self::$_loader = self::getDefaultLoaders();
    }
    $result = self::$_loader->load($source, $contentType, $options);
    return $result instanceof \DOMDocument ? $result : $result->getDocument();
  }
public static function load($source, string $contentType = 'text/xml', array $options = []): \FluentDOM\DOM\Document {
    if (NULL === self::$_loader) {
      self::$_loader = self::getDefaultLoaders();
    }
    $result = self::$_loader->load($source, $contentType, $options);
    return $result instanceof \DOMDocument ? $result : $result->getDocument();
  }
public static function load ( $ source , string $ contentType = 'text/xml' , array $ options = [ ] ) : \ FluentDOM \ DOM \ Document { if ( NULL === self :: $ _loader ) { self :: $ _loader = self :: getDefaultLoaders ( ) ; } $ result = self :: $ _loader -> load ( $ source , $ contentType , $ options ) ; return $ result instanceof \ DOMDocument ? $ result : $ result -> getDocument ( ) ; }
Load a data source into a FluentDOM\DOM\Document

@param mixed $source
@param string $contentType
@param array $options
@return \FluentDOM\DOM\Document
Load a data source into a FluentDOM \ DOM \ Document