TwistPHP Documentation

create

File path: dist/twist/Core/Models/Archive/Native.model.php
Namespace: Twist\Core\Models\Archive
Extends:

createCreate an archive resource ready to accept files and folders

Parameters

Name Type Description
$strZipArchivestringn/a

Return Values

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

Example

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

//Call the function create with the example vars
$resNative = new \Twist\Core\Models\Archive\Native();
$resNative -> create($strZipArchive);