public function vfsStreamContainerIterator::__construct in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStreamContainerIterator.php \org\bovigo\vfs\vfsStreamContainerIterator::__construct()
constructor
Parameters
vfsStreamContent[] $children:
File
- vendor/
mikey179/ vfsStream/ src/ main/ php/ org/ bovigo/ vfs/ vfsStreamContainerIterator.php, line 28
Class
- vfsStreamContainerIterator
- Iterator for children of a directory container.
Namespace
org\bovigo\vfsCode
public function __construct(array $children) {
$this->children = $children;
if (vfsStream::useDotfiles()) {
array_unshift($this->children, new DotDirectory('.'), new DotDirectory('..'));
}
reset($this->children);
}