TwistPHP Documentation

move

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

moveBasic alias function of PHP's rename, move/rename a file 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 move with the example vars
Twist::File() -> move($strSourcePath$strDestinationPath);