PHP
SPL/Iterators

ParentIterator::__construct

ParentIterator::__construct

(PHP 5 >= 5.1.0, PHP 7)

ParentIterator::__construct — Constructs a ParentIterator

Description

public ParentIterator::__construct ( RecursiveIterator $iterator )

Constructs a ParentIterator on an iterator.

Warning

This function is currently not documented; only its argument list is available.

Parameters

iterator

The iterator being constructed upon.

Return Values

The ParentIterator.

← ParentIterator::accept

ParentIterator::getChildren →

© 1997–2017 The PHP Documentation Group

Licensed under the Creative Commons Attribution License v3.0 or later.

https://secure.php.net/manual/en/parentiterator.construct.php