src/Call/Event/CallEventFactory.php
public function createProduced($key, $value): ProducedEvent
    {
        return new ProducedEvent(
            $this->sequencer->next(),
            $this->clock->time(),
            $key,
            $value
        );
    }
public function createProduced($key, $value): ProducedEvent
    {
        return new ProducedEvent(
            $this->sequencer->next(),
            $this->clock->time(),
            $key,
            $value
        );
    }
public function createProduced ( $ key , $ value ) : ProducedEvent { return new ProducedEvent ( $ this -> sequencer -> next ( ) , $ this -> clock -> time ( ) , $ key , $ value ) ; }
Create a new 'produced' event.

@param mixed $key   The produced key.
@param mixed $value The produced value.

@return ProducedEvent The newly created event.
Create a new produced event .