traverse_object()

Since v1.8.0

Description

traverse_object() - global function that's a convenience wrapper around TraverseObject::using()

void traverse_object(object $list, string $listName, callable $callable);

See TraverseObject::using() for details.