Neos\Neos\EventLog\Domain\Service\EventEmittingService::add PHP Метод

add() публичный Метод

This only happens for top-level-events. All events which are attached to some parent event are persisted together with the parent.
См. также: emit()
public add ( Event $nodeEvent ) : void
$nodeEvent Neos\Neos\EventLog\Domain\Model\Event
Результат void
    public function add(Event $nodeEvent)
    {
        if (!$this->isEnabled()) {
            throw new Exception('Event log not enabled', 1418464935);
        }
        if ($nodeEvent->getParentEvent() === null) {
            $this->eventRepository->add($nodeEvent);
        }
    }