TwistPHP Documentation

recursiveCopy

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

recursiveCopyRecursively copy a directory and all its files and sub-directories to a new location on the local server

Parameters

Name Type Description
$strSourcePathstringn/a
$strDestinationPathstringn/a

Return Values

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

Example

<?php
//Set the variables for the example
$strSourcePath 'foo';
$strDestinationPath 'foo';

//Call the function recursiveCopy with the example vars
Twist::File() -> recursiveCopy($strSourcePath$strDestinationPath);