TwistPHP Documentation

debugMode

File path: dist/twist/Core/Utilities/Database.utility.php
Namespace: Twist\Core\Utilities
Extends: Base

debugModeDetect if the database debug mode is enabled or disabled, based upon the DEVELOPMENT_MODE and DEVELOPMENT_DEBUG_BAR settings.

Return Values

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

Example

<?php
//Call the function debugMode with the example vars
Twist::Database() -> debugMode();