PHP Class Eloquent\Phony\Call\Event\ThrewEvent

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

Public Methods

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

Method Details

__construct() public method

Construct a 'threw' 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 thrown exception.

exception() public method

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