TwistPHP Documentation

removePackage

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

removePackageRemove a package, un-registers it from the framework

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 removePackage with the example vars
\Twist\Core\Models\Install::removePackage($strPackageSlug);