Eloquent\Phony\Call\Event\CalledEvent::__construct PHP Method

__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.
    public function __construct($sequenceNumber, $time, $callback, Arguments $arguments)
    {
        parent::__construct($sequenceNumber, $time);
        $this->callback = $callback;
        $this->arguments = $arguments;
    }