TwistPHP Documentation

isConnected

File path: dist/twist/Core/Helpers/Database.helper.php
Namespace: Twist\Core\Helpers
Extends: Base

isConnectedCheck to see if a connection is present and return true/false (does not attempt to make a connection if not already)

Return Values

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

Example

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