TwistPHP Documentation

install

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

installInstall the package into the framework, this function is called by the packages install.php file located in the package folder.
It handles the registration of the package withing the framework.

Return Values

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

Example

<?php
//Call the function install with the example vars
$resPackage = new \Twist\Core\Models\Package();
$resPackage -> install();