find()
find(object $object, string $query) : \Traversable|array<mixed,mixed>
Combines the query and an object to retrieve a list of nodes that are to be used as node-point in a template.
This method interprets the provided query string and walks through the given object to find the correct element. This method will silently fail if an invalid query was provided; in such a case the given object is returned.
Parameters
object | $object | |
string | $query |