Dir
in package
Com\Tecnick\File\Dir
Function to read byte-level data
Tags
Table of Contents
Methods
- findParentDir() : string
- Returns the full path of a parent directory
Methods
findParentDir()
Returns the full path of a parent directory
public findParentDir(string $name[,
string $dir
= __DIR__
]) : string
Parameters
- $name : string
-
Name of the parent folder to search
- $dir : string = __DIR__
-
Starting directory
Return values
string —Directory name