DepthRangeFilterIterator

DepthRangeFilterIterator

class DepthRangeFilterIterator extends FilterIterator

DepthRangeFilterIterator limits the directory depth.

Methods

rewind()

This is a workaround for the problem with \FilterIterator leaving inner \FilesystemIterator in wrong state after rewind in some cases.

from FilterIterator
__construct(登录查看完整内容