public function getChildren($path)
    {
        $node = $this->getNodeForPath($path);
        $basePath = trim($path, '/');
        if ('' !== $basePath) {
            $basePath .= '/';
        }

        foreach ($node->getChildren() as $child) {
            $this->cache[$basePath.$child->getName()] = $child;
            yield $child;
        }
    }
public function getChildren($path)
    {
        $node = $this->getNodeForPath($path);
        $basePath = trim($path, '/');
        if ('' !== $basePath) {
            $basePath .= '/';
        }

        foreach ($node->getChildren() as $child) {
            $this->cache[$basePath.$child->getName()] = $child;
            yield $child;
        }
    }
public function getChildren ( $ path ) { $ node = $ this -> getNodeForPath ( $ path ) ; $ basePath = trim ( $ path , '/' ) ; if ( '' !== $ basePath ) { $ basePath .= '/' ; } foreach ( $ node -> getChildren ( ) as $ child ) { $ this -> cache [ $ basePath . $ child -> getName ( ) ] = $ child ; yield $ child ; } }
Returns a list of childnodes for a given path.

@param string $path

@return \Traversable
Returns a list of childnodes for a given path .