TwistPHP Documentation

getByKey

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

getByKeyGet the details of a local/installed package and return them as an array

Parameters

Name Type Description
$strPackageKeystringn/a

Return Values

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

Example

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

//Call the function getByKey with the example vars
$resPackage = new \Twist\Core\Models\Package();
$resPackage -> getByKey($strPackageKey);