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