FluentDOM\Nodes::fetch PHP Метод

fetch() защищенный Метод

Fetch spawns and fills a Nodes instance.
protected fetch ( string $expression, null | string | callable | DOMNode | array | Traversable $filter = NULL, null | string | callable | DOMNode | array | Traversable $stopAt = NULL, integer $options ) : Nodes
$expression string Xpath expression
$filter null | string | callable | DOMNode | array | Traversable
$stopAt null | string | callable | DOMNode | array | Traversable
$options integer
Результат Nodes
    protected function fetch($expression, $filter = NULL, $stopAt = NULL, $options = 0)
    {
        return $this->spawn((new Nodes\Fetcher($this))->fetch($expression, $this->getSelectorCallback($filter), $this->getSelectorCallback($stopAt), $options));
    }