src/Call/Event/CallEventFactory.php
public function createCalled(
        $callback,
        Arguments $arguments
    ): CalledEvent {
        return new CalledEvent(
            $this->sequencer->next(),
            $this->clock->time(),
            $callback,
            $arguments
        );
    }
public function createCalled(
        $callback,
        Arguments $arguments
    ): CalledEvent {
        return new CalledEvent(
            $this->sequencer->next(),
            $this->clock->time(),
            $callback,
            $arguments
        );
    }
public function createCalled ( $ callback , Arguments $ arguments ) : CalledEvent { return new CalledEvent ( $ this -> sequencer -> next ( ) , $ this -> clock -> time ( ) , $ callback , $ arguments ) ; }
Create a new 'called' event.

@param callable  $callback  The callback.
@param Arguments $arguments The arguments.

@return CalledEvent The newly created event.
Create a new called event .