TwistPHP Documentation

enableHandler

File path: dist/twist/Classes/Shutdown.class.php
Namespace: Twist\Classes
Extends:

enableHandlerUsed for TwistPHP to register the master shutdown handler that will then run through and process each of the registered shutdown events.

Return Values

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

Example

<?php
//Call the function enableHandler with the example vars
\Twist\Classes\Shutdown::enableHandler();