$element->query()
Searches nested elements
$element->query(string $query): DOMNodeList|null
Parameters
Name | Type | Default |
---|---|---|
$queryrequired | string |
no default value |
Return types
DOMNodeList
ornull
This method modifies the existing $element
object it is applied to and returns it again.