Zum Hauptinhalt springen

Zymba Documentation

IO.DirectoryIterator​

Text
object @IO.DirectoryIterator(@Base) {
construct(string $path) {}
hasMore(): bool {}
next(): object {}
reset(): $this {}
}

IO directory iterator prototype.

Prototype​

Base

Methods​

CODE
$this.construct(string $path): void
Parameters​
NameTypeValueDefault
pathstring""
CODE
$this.hasMore(): bool
Returns​
TypeValue
bool
CODE
$this.next(): object
Returns​
TypeValue
object[path: filename]
null
CODE
$this.reset(): this
Returns​
TypeValue
$this