PHP Class Eloquent\Phony\Call\Event\CalledEvent

Inheritance: extends AbstractCallEvent
Mostrar archivo Open project: eloquent/phony Class Usage Examples

Public Methods

Method Description
__construct ( integer $sequenceNumber, float $time, callable $callback, Arguments $arguments ) Construct a new 'called' event.
arguments ( ) : Arguments Get the received arguments.
callback ( ) : callable Get the callback.

Method Details

__construct() public method

Construct a new 'called' event.
public __construct ( integer $sequenceNumber, float $time, callable $callback, Arguments $arguments )
$sequenceNumber integer The sequence number.
$time float The time at which the event occurred, in seconds since the Unix epoch.
$callback callable The callback.
$arguments Eloquent\Phony\Call\Arguments The arguments.

arguments() public method

Get the received arguments.
public arguments ( ) : Arguments
return Eloquent\Phony\Call\Arguments The received arguments.

callback() public method

Get the callback.
public callback ( ) : callable
return callable The callback.