TwistPHP Documentation

getFromLibrary

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

getFromLibraryGet the correct package form the library

Parameters

Name Type Description
$strRequestedResourcestringn/a
[$strRequestedVersion = null]stringn/a

Return Values

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

Example

<?php
//Set the variables for the example
$strRequestedResource 'foo';
$strRequestedVersion null;

//Call the function getFromLibrary with the example vars
$resResources = new \Twist\Core\Models\Resources();
$resResources -> getFromLibrary($strRequestedResource$strRequestedVersion);