TwistPHP Documentation

getEvents

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

getEventsGet an array of all the recorded events from withing the TwistPHP even recorder, this will provide times and memory usage data on allow of key processing done by TwistPHP.
The TwistPHP event recorder only records and outputs events if DEVELOPMENT_MODE and DEVELOPMENT_EVENT_RECORDER settings are set to true|1.

Parameters

Name Type Description
[$blStopTimer = false]booleann/a

Return Values

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

Example

<?php
//Set the variables for the example
$blStopTimer false;

//Call the function getEvents with the example vars
Twist::Twist() -> getEvents($blStopTimer);