public function save(IEvent $event)
    {
        if (null !== $event->getId()) {
            return $event;
        }

        $event->setId((string)Uuid::uuid4());

        $this->events[] = $event;

        return $event;
    }