TwistPHP Documentation

Throwable

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

Type: Class

Throwable — Handle PHP7 throwable fatal errors, convert them into PHP Exceptions and return them

Example Usage

<?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);

Method List

Method Access Returns
__constructconstructvoid