Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. vfsStreamContainerIterator.php

function vfsStreamContainerIterator::current

returns the current child

Return value

vfsStreamContent

File

vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/vfsStreamContainerIterator.php, line 52

Class

vfsStreamContainerIterator
Iterator for children of a directory container.

Namespace

org\bovigo\vfs

Code

public function current() {
    $child = current($this->children);
    if (false === $child) {
        return null;
    }
    return $child;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal