VISU - PHP Game Framework

ExceptionSignalTrait

Table of Contents

Properties

$exception  : Exception|null
Exception instance

Methods

getException()  : Exception|null
Returns the current exception or null
hasException()  : bool
Does the signal have a exception
setException()  : void
Set the exception for the signal

Properties

Methods

getException()

Returns the current exception or null

public getException() : Exception|null
Return values
Exception|null

hasException()

Does the signal have a exception

public hasException() : bool
Return values
bool

setException()

Set the exception for the signal

public setException(Exception $exception) : void
Parameters
$exception : Exception

        
On this page

Search results