TwistPHP Documentation

recursiveCreate

File path: dist/twist/Core/Utilities/File.utility.php
Namespace: Twist\Core\Utilities
Extends: Base

recursiveCreateRecursively create a directory on the local server

Parameters

Name Type Description
$strDirectoryPathstringn/a
[$intMode = 0777]integern/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$strDirectoryPath 'foo';
$intMode 0777;

//Call the function recursiveCreate with the example vars
Twist::File() -> recursiveCreate($strDirectoryPath$intMode);