find()
find(\Traversable<string,mixed>|\phpDocumentor\Descriptor\Descriptor $object, string $query) : \Traversable<mixed>|\phpDocumentor\Transformer\Writer\list<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
\Traversable |
$object | |
string | $query |