File path: dist/twist/Core/Models/Package.model.php
Namespace: Twist\Core\Models
download
— Download and extract a package into the packages folder
Name | Description |
---|---|
$strPackageKey | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strPackageKey = 'foo';
//Call the function download with the example vars
$resPackage = new \Twist\Core\Models\Package();
$resPackage -> download($strPackageKey);