TwistPHP Documentation

deleteFile

File path: dist/twist/Core/Helpers/Archive.helper.php
Namespace: Twist\Core\Helpers
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);