TwistPHP Documentation

cancelHandler

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

cancelHandlerCancel a registered handler, these handlers can be for shutdown events, errors and exceptions.

Parameters

Name Type Description
$strTypestringn/a
[$strEventKey = null]stringn/a

Return Values

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

Example

<?php
//Set the variables for the example
$strType 'foo';
$strEventKey null;

//Call the function cancelHandler with the example vars
$resRegister = new \Twist\Core\Models\Register();
$resRegister -> cancelHandler($strType$strEventKey);