TwistPHP Documentation

create

File path: dist/twist/Core/Helpers/Archive.helper.php
Namespace: Twist\Core\Helpers
Extends: Base

createCreate a new empty archive ready to have files and directories added

Parameters

Name Type Description
[$dirZipArchive = null]stringn/a

Return Values

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

Example

<?php
//Set the variables for the example
$dirZipArchive null;

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