TwistPHP Documentation

get

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

getGet the details of an installed package and return them as an array

Parameters

Name Type Description
$strPackageSlugstringn/a

Return Values

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

Example

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

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