NextDom\Helpers\FileSystemHelper::mkdirIfNotExists
Create directory if not already exists
Signature
public function mkdirIfNotExists(string
$path,
[integer
$mode = 0775,
[boolean
$recursive = false]] )
Parameters
$path
— string- path to create
$mode
— integer- see mkdir parameter
$recursive
— boolean- see mkdir parameter
Errors/Exceptions
-
CoreException
- when cannot create directory