org\bovigo\vfs\vfsStreamDirectory::getIterator PHP Method

getIterator() public method

returns iterator for the children
public getIterator ( ) : vfsStreamContainerIterator
return vfsStreamContainerIterator
    public function getIterator()
    {
        return new vfsStreamContainerIterator($this->children);
    }