Prado\Data\SqlMap\Statements\TSqlMapObjectCollectionTree::collect PHP Method

collect() public method

public collect ( ) : array
return array object collection
    public function collect()
    {
        while (count($this->_tree) > 0) {
            $this->collectChildren(null, $this->_tree);
        }
        return $this->getCollection();
    }