TwistPHP Documentation

create

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