public function vfsStreamContainerIterator::current 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::current()
returns the current child
Return value
File
- vendor/
mikey179/ vfsStream/ src/ main/ php/ org/ bovigo/ vfs/ vfsStreamContainerIterator.php, line 51
Class
- vfsStreamContainerIterator
- Iterator for children of a directory container.
Namespace
org\bovigo\vfsCode
public function current() {
$child = current($this->children);
if (false === $child) {
return null;
}
return $child;
}