TwistPHP Documentation

registerEvent

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

registerEventRegister a shutdown event, this function should be used exclusively by the \Twist::framework()->register() object.

Return Values

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

Example

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