public function makeDirectory(string $path, int $mode = 0777, bool $isRecursive = false) : bool
    {
        $result = mkdir($path, $mode, $isRecursive);
        // The directory might not get the correct mode due to umask, so we have to chmod it
        chmod($path, $mode);

        return $result;
    }
public function makeDirectory(string $path, int $mode = 0777, bool $isRecursive = false) : bool
    {
        $result = mkdir($path, $mode, $isRecursive);
        // The directory might not get the correct mode due to umask, so we have to chmod it
        chmod($path, $mode);

        return $result;
    }
public function makeDirectory ( string $ path , int $ mode = 0777 , bool $ isRecursive = false ) : bool { $ result = mkdir ( $ path , $ mode , $ isRecursive ) ; // The directory might not get the correct mode due to umask, so we have to chmod it chmod ( $ path , $ mode ) ; return $ result ; }
Makes a directory at the input path

@param string $path The path to the directory to make
@param int $mode The chmod permissions
@param bool $isRecursive Whether or not we create nested directories
@return bool True if successful, otherwise false
Makes a directory at the input path