VERSION
VERSION
registerPath(string $fpath, string $rpath, string|array|null $ns_filter = null, string|null $file_pattern = null)
Recursively scan a path and records symbols
Scan retains PHP source files and phk packages only (based on file suffix)
Only dirs and regular files are considered. Other types are ignored.
string | $fpath | Path to register |
string | $rpath | Path to register to in map for $fpath |
string|array|null | $ns_filter | List of authorized namespaces (empty string means no namespace)
|
string|null | $file_pattern | File path preg pattern (File paths not matching this pattern are ignored) |