Dir::make()
Creates a new directory
Parameters
Name | Type | Default | Description |
---|---|---|---|
$dir * | string |
– | The path for the new directory |
$recursive | bool |
true |
Create all parent directories, which don't exist |
Return type
bool
Exceptions
Type | Description |
---|---|
Exception |
If a file with the provided path already exists or the parent directory is not writable |