File path: dist/twist/Core/Models/Register.model.php
Namespace: Twist\Core\Models
Type: Model
Register
— Register Shutdown and Event handlers, also handlers can be canceled if required
<?php
//Set the variables for the example
$strEventKey = 'foo';
$strClass = 'foo';
$strFunction = 'foo';
//Call the function shutdownEvent with the example vars
$resRegister = new \Twist\Core\Models\Register();
$resRegister -> shutdownEvent($strEventKey, $strClass, $strFunction);
Method | Access | Returns |
---|---|---|
handler | public | void |
cancelHandler | public | void |
shutdownEvent | public | void |
cancelShutdownEvent | public | void |