File path: dist/twist/Core/Models/Package.model.php
Namespace: Twist\Core\Models
uninstaller
— Find the installed package by its slug and run the uninstall.php file within the package folder.
Name | Description |
---|---|
$strUninstallSlug | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strUninstallSlug = 'foo';
//Call the function uninstaller with the example vars
$resPackage = new \Twist\Core\Models\Package();
$resPackage -> uninstaller($strUninstallSlug);