TwistPHP Documentation

Debug

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

Type: Model

Debug — Debugging the framework and its modules, functionality to access debug data can be found here. Data will only be present if Debugging is enabled in your settings.

Example Usage

<?php
//Set the variables for the example
$arrCurrentRoute = array(=> 'foo'=> 'bar');

//Call the function window with the example vars
$resDebug = new \Twist\Core\Models\Debug();
$resDebug -> window($arrCurrentRoute);

Method List

Method Access Returns
__constructconstructvoid
logpublicvoid
windowpublicvoid