public static function Query($source = NULL, $contentType = 'text/xml', array $options = [])
{
$query = new FluentDOM\Query();
if (isset($source)) {
$query->load($source, $contentType, $options);
}
return $query;
}
/** * FluentDOM function, is an Alias for the \FluentDOM\FluentDOM::Query() * factory class function. * * @param mixed $source * @param string $contentType * @param array $options * @return \FluentDOM\Query * @codeCoverageIgnore */ function FluentDOM($source = NULL, $contentType = 'text/xml', array $options = []) { return FluentDOM::Query($source, $contentType, $options); }