PHP Class Eloquent\Phony\Call\Event\ReceivedExceptionEvent

Inheritance: extends AbstractCallEvent, implements IterableEvent
Datei anzeigen Open project: eloquent/phony

Public Methods

Method Description
__construct ( integer $sequenceNumber, float $time, Exceptio\Exception | Erro\Error $exception ) Construct a 'received exception' event.
exception ( ) : Exceptio\Exception | Erro\Error Get the received exception.

Method Details

__construct() public method

Construct a 'received exception' event.
public __construct ( integer $sequenceNumber, float $time, Exceptio\Exception | Erro\Error $exception )
$sequenceNumber integer The sequence number.
$time float The time at which the event occurred, in seconds since the Unix epoch.
$exception Exceptio\Exception | Erro\Error The received exception.

exception() public method

Get the received exception.
public exception ( ) : Exceptio\Exception | Erro\Error
return Exceptio\Exception | Erro\Error The received exception.