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

@param mixed $value The return value.

@return ReturnedEvent The newly created event.
Create a new returned event .