TwistPHP Documentation


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

__constructFramework hooks that are used throughout the framework, see the docs for a full list of integrated hocks.
Register a hook to add in new view tags or extend framework functionality. Custom hooks are available in some packages to all them to be extended easily.
The default framework hooks are loaded in the construct

Return Values

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


//Call the function __construct with the example vars
$resHooks = new \Twist\Core\Models\Hooks();
$resHooks -> __construct();