TwistPHP Documentation

remove

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

removeBasic alias function of PHP's unlink, removes a file or symlink from the local server

Parameters

Name Type Description
$dirFilePathstringn/a
[$blIncludeDelayedFiles = true]booleann/a

Return Values

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

Example

<?php
//Set the variables for the example
$dirFilePath '/home/user/public_html/twist';
$blIncludeDelayedFiles true;

//Call the function remove with the example vars
Twist::File() -> remove($dirFilePath$blIncludeDelayedFiles);