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
$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
boolsetException()
Set the exception for the signal
public
setException(Exception $exception) : void
Parameters
- $exception : Exception