PHP Class Eloquent\Phony\Call\Event\CalledEvent

Inheritance: extends AbstractCallEvent
Afficher le fichier Open project: eloquent/phony Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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 méthode

Get the received arguments.
public arguments ( ) : Arguments
Résultat Eloquent\Phony\Call\Arguments The received arguments.

callback() public méthode

Get the callback.
public callback ( ) : callable
Résultat callable The callback.