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
$exception
Exception instance
private
Exception|null
$exception
= null
Methods
getException()
Returns the current exception or null
public
getException() : Exception|null
Return values
Exception|nullhasException()
Does the signal have a exception
public
hasException() : bool
Return values
boolisPropagationStopped()
Has the propagation been stopped?
public
isPropagationStopped() : bool
Return values
boolsetException()
Set the exception for the signal
public
setException(Exception $exception) : void
Parameters
- $exception : Exception
stopPropagation()
Stop the propagation of the signal
public
stopPropagation() : void