Property | Type | Description | |
---|---|---|---|
$notPaths | string[] | ||
$readPaths | string[] | ||
$writePaths | string[] |
Method | Description | |
---|---|---|
mode ( $path ) | ||
path ( string $pattern, string $mode = 'r' ) | Adds a rule a path must match |
Method | Description | |
---|---|---|
isRegex ( string $str ) : boolean | Checks whether the string is a regex. | |
toRegex ( string $str ) : string | Converts strings to regexp. |