File path: dist/twist/Core/Models/Package.model.php
Namespace: Twist\Core\Models
load
— Load the package into the framework for us
Name | Description |
---|---|
$strSlug | n/a |
$arrPackageData | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strSlug = 'foo';
$arrPackageData = array(0 => 'foo', 1 => 'bar');
//Call the function load with the example vars
$resPackage = new \Twist\Core\Models\Package();
$resPackage -> load($strSlug, $arrPackageData);