ElementNode::querySelectorAll

The querySelectorAll() method returns a collection of elements within the document that match the specified CSS selector.

Description

public ElementNode::querySelectorAll(string $selector): ElementList

Parameters

selector

The CSS selector string to match the elements against.

Return Value

Returns an ElementList containing all ElementInterface objects that match the selector.

Exceptions

None

Source Code
If you find this project useful, consider leaving a on GitHub! Thank you!