/** * 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); }
/** * getDom method * @return \FluentDOM\Query */ public function getDom() { return \FluentDOM::Query($this->getContent(), 'text/html'); }
/** * Put the current node into a FluentDOM\Query * and call find() on it. * * @param string $expression * @return Query */ public function find($expression) { return \FluentDOM::Query($this)->find($expression); }