File path: dist/twist/Core/Models/Package.model.php
Namespace: Twist\Core\Models
exists
— Check to see that a package is installed and usable, optional throw an exception of the package doesn't exist
Name | Description |
---|---|
$strPackageSlug | n/a |
[$blThrowException = false] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strPackageSlug = 'foo';
$blThrowException = false;
//Call the function exists with the example vars
$resPackage = new \Twist\Core\Models\Package();
$resPackage -> exists($strPackageSlug, $blThrowException);