File path: dist/twist/Core/Models/Register.model.php
Namespace: Twist\Core\Models
handler
— Register a handler for shutdown events, errors and exceptions. All default handlers are registered with this method by TwistPHP.
Name | Description |
---|---|
$strType | n/a |
$strClass | n/a |
$strFunction | n/a |
[$strEventKey = null] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strType = 'foo';
$strClass = 'foo';
$strFunction = 'foo';
$strEventKey = null;
//Call the function handler with the example vars
$resRegister = new \Twist\Core\Models\Register();
$resRegister -> handler($strType, $strClass, $strFunction, $strEventKey);