TwistPHP Documentation

getRepository

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

getRepositoryGet a list of all the packages from the remote Twist repository

Parameters

Name Type Description
[$strFilter = 'all']stringn/a

Return Values

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

Example

<?php
//Set the variables for the example
$strFilter 'all';

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