TwistPHP Documentation

__construct

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

__constructHandle PHP7 throwable fatal errors, convert them into PHP Exceptions and return them

Parameters

Name Type Description
$resThrowableresourcen/a

Return Values

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

Example

<?php
//Set the variables for the example
$resThrowable = (resource);

//Call the function __construct with the example vars
$resThrowable = new \Twist\Classes\Throwable();
$resThrowable -> __construct($resThrowable);