propelorm/Propel2

View on GitHub
templates/Behavior/NestedSet/objectGetIterator.php

Summary

Maintainability
A
0 mins
Test Coverage

/**
 * Returns a pre-order iterator for this node and its children.
 *
 * @return NestedSetRecursiveIterator
 */
public function getIterator()
{
    return new NestedSetRecursiveIterator($this);
}