TwistPHP Documentation

importSettings

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

importSettingsInstall any framework settings that are required by the core.

Parameters

Name Type Description
$dirSettingsJSONstringn/a
[$strPackage = 'core']stringn/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$dirSettingsJSON '/home/user/public_html/twist';
$strPackage 'core';

//Call the function importSettings with the example vars
\Twist\Core\Models\Install::importSettings($dirSettingsJSON$strPackage);