Crawler

Crawler

class Crawler implements Countable, IteratorAggregate

Crawler eases navigation of a list of \DOMNode objects.

Methods

__construct(mixed $node = null, string $currentUri = null, string $baseHref = null)
string getUri()

Returns the current URI.

string getBaseHref()

Returns base href.

clear()

Removes all the nodes.

add