public createCalled ( callable $callback, |
||
$callback | callable | The callback. |
$arguments | The arguments. | |
Результат | The newly created event. |
public function createCalled($callback, Arguments $arguments)
{
return new CalledEvent($this->sequencer->next(), $this->clock->time(), $callback, $arguments);
}