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