VISU - PHP Game Framework

ExceptionSignal extends Signal
in package
uses 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
isPropagationStopped()  : bool
Has the propagation been stopped?
setException()  : void
Set the exception for the signal
stopPropagation()  : void
Stop the propagation of 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

isPropagationStopped()

Has the propagation been stopped?

public isPropagationStopped() : bool
Return values
bool

setException()

Set the exception for the signal

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

stopPropagation()

Stop the propagation of the signal

public stopPropagation() : void

        
On this page

Search results