Legend of the Green Dragon

Filesystem extends Filesystem

Table of Contents

listDir()  : array<string|int, mixed>
List files in directory.

Methods

listDir()

List files in directory.

public listDir(string $dir) : array<string|int, mixed>
Parameters
$dir : string

Directory to scan in search of files

Tags
throws
IOException

When not found directory

Return values
array<string|int, mixed>

Search results