File path: dist/twist/Core/Models/Package.model.php
Namespace: Twist\Core\Models
importSettings
— Install any framework settings that are required by the package, this function is called by the packages install.php file located in the package folder.
Name | Description |
---|---|
$dirSettingsJSON | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$dirSettingsJSON = '/home/user/public_html/twist';
//Call the function importSettings with the example vars
$resPackage = new \Twist\Core\Models\Package();
$resPackage -> importSettings($dirSettingsJSON);