TwistPHP Documentation

deleteFile

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

deleteFileDelete a file or directory from the current ZIP file

Parameters

Name Type Description
[$dirZipFilePath = '']stringn/a

Return Values

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

Example

<?php
//Set the variables for the example
$dirZipFilePath '';

//Call the function deleteFile with the example vars
Twist::Archive() -> deleteFile($dirZipFilePath);